package/pkcs11-helper: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 14 Apr 2020 12:07:15 +0000 (14:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 15 Apr 2020 19:51:38 +0000 (21:51 +0200)
pkcs11-helper unconditionally use dlfcn.h in lib/pkcs11h-core.c

Fixes:
 - http://autobuild.buildroot.org/results/3411074765312e67dab0f71876a254721911714f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkcs11-helper/Config.in

index da000b701018d69ae8e23eda5c3b1acc7c0cdf60..36204d7d33a85a2baa1e9d01f11715ee15a269b9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PKCS11_HELPER
        bool "pkcs11-helper"
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        help
          pkcs11-helper is a library that simplifies the interaction
          with PKCS#11 providers for end-user applications.
@@ -17,3 +18,6 @@ config BR2_PACKAGE_PKCS11_HELPER
          perform signature and decryption.
 
          https://github.com/OpenSC/pkcs11-helper
+
+comment "pkcs11-helper needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS