Skip to contentSkip to conversation

package/pkcs11-helper: needs dynamic library

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 14, 2020 – Apr 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pkcs11-helper: needs dynamic library

pkcs11-helper unconditionally use dlfcn.h in lib/pkcs11h-core.c

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

---
 package/pkcs11-helper/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/pkcs11-helper/Config.in +4 -0
index da000b7010..36204d7d33 100644
@@ -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
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/pkcs11-helper: needs dynamic library

Quoted 9 lines · On Tue, 14 Apr 2020 14:07:15 +0200 Fabrice Fontaine…

pkcs11-helper unconditionally use dlfcn.h in lib/pkcs11h-core.c

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

---
 package/pkcs11-helper/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com