OpenSC / pkcs11-helper

Library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine
Other
66 stars 43 forks source link

lib/pkcs11h-core.c: fix build without slotevent #50

Closed ffontaine closed 2 years ago

ffontaine commented 2 years ago

Fix the following build failure with --disable-slotevent:

/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libpkcs11-helper.so: undefined reference to `_pkcs11h_slotevent_init'

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

alonbl commented 2 years ago

Thanks!