[Buildroot] [PATCH 1/1] package/pkcs11-helper: needs dynamic library

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Apr 14 12:07:15 UTC 2020


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 at gmail.com>
---
 package/pkcs11-helper/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/pkcs11-helper/Config.in b/package/pkcs11-helper/Config.in
index da000b7010..36204d7d33 100644
--- a/package/pkcs11-helper/Config.in
+++ b/package/pkcs11-helper/Config.in
@@ -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
-- 
2.25.1



More information about the buildroot mailing list