Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Fix build against pcsc-lite >= 2.2 #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 30, 2024

  1. cmake: Fix build against pcsc-lite >= 2.2

    The pcsc-lite 2.2.0 switched from autotools to meson and reworked the
    pkgconfig files. The new pkg config provides CFLAGS that work ok, but
    the yubihsm-shell ignores them and hopes that all included files are in
    the default include directory (with the PCSC prefix).
    
    Note, the value ${LIBPCSC_CFLAGS} is a semicolon separated list which
    we need to split to separate items here.
    
    This solution works with both old and new versions.
    
    Fixes: Yubico#404
    
    Signed-off-by: Jakub Jelen <[email protected]>
    Jakuje committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    440ba3a View commit details
    Browse the repository at this point in the history