All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pkcs11-helper: needs dynamic library
@ 2020-04-14 12:07 Fabrice Fontaine
  2020-04-15 19:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 12:07 UTC (permalink / raw)
  To: buildroot

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>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/pkcs11-helper: needs dynamic library
  2020-04-14 12:07 [Buildroot] [PATCH 1/1] package/pkcs11-helper: needs dynamic library Fabrice Fontaine
@ 2020-04-15 19:51 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-04-15 19:51 UTC (permalink / raw)
  To: buildroot

On Tue, 14 Apr 2020 14:07:15 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

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

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 12:07 [Buildroot] [PATCH 1/1] package/pkcs11-helper: needs dynamic library Fabrice Fontaine
2020-04-15 19:51 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.