]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
pcsc-lite: not available for static builds
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 10 Mar 2014 12:10:33 +0000 (12:10 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 11 Mar 2014 22:34:44 +0000 (23:34 +0100)
This package requires dlopen and checks for it in the configure phase.
If it's not present, then the build process is stopped.

Fixes:
   http://autobuild.buildroot.net/results/34b/34b83c3ea4a8aac6aeda225e5859bd318b13a676/

[Peter: propagate deps to reverse dependencies, merge toolchain comments]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ccid/Config.in
package/pcsc-lite/Config.in
package/strongswan/Config.in

index e960986aea2b69abf68a7d062037d44b9e6a56ca..e3c71f84ef841c55ca78f00887268c43270afc40 100644 (file)
@@ -4,11 +4,12 @@ config BR2_PACKAGE_CCID
        select BR2_PACKAGE_LIBUSB
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
        depends on BR2_USE_MMU # pcsc-lite
+       depends on !BR2_PREFER_STATIC_LIB # pcsc-lite
        help
          PC/SC driver for USB CCID smart card readers
 
          http://pcsclite.alioth.debian.org/ccid.html
 
-comment "ccid needs a toolchain w/ threads"
+comment "ccid needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
index aab42e8ce94f39e3eb8b316ca2c8a8185bc4e807..bd715bed17c9bb5ea1f882b059c84f6448c36321 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PCSC_LITE
        bool "pcsc-lite"
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_PREFER_STATIC_LIB
        help
          Middleware to access smart card using SCard API (PC/SC).
 
@@ -28,6 +29,6 @@ config BR2_PACKAGE_PCSC_LITE_EMBEDDED
 
 endif
 
-comment "pcsc-lite needs a toolchain w/ threads"
+comment "pcsc-lite needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
index d53da64d788446784fb719e6f99bb428f676f1d1..0daedda8146d5a57ee06d70c6e7acfe5db625399 100644 (file)
@@ -91,6 +91,7 @@ if BR2_PACKAGE_STRONGSWAN_EAP
 
 config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC
        bool "Enable EAP-SIM smart card backend"
+       depends on !BR2_PREFER_STATIC_LIB # pcsc-lite
        select BR2_PACKAGE_PCSC_LITE
 
 endif