summaryrefslogtreecommitdiff
path: root/package/acsccid
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-31 15:55:35 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-31 15:55:35 +0100
commite097b36d345186b5fd1ad99c122ec889fdd6c665 (patch)
treeeff2d4573ee1d1d6480bb3502309e4afa068fdb8 /package/acsccid
parentc12a3ea5e5f56b93c5c08adc986b037af7452b39 (diff)
acsccid: propagate dependencies from pcsc-lite
The new package acsccid properly propagated the dependency of libusb, but not the one of pcsc-lite, causing pcsc-lite to be selected in situation where it shouldn't be (such as in static-only configurations). Fixes: http://autobuild.buildroot.org/results/e0b/e0b205dceb84303d1dfaf8b39562b934f6914b8d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/acsccid')
-rw-r--r--package/acsccid/Config.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/acsccid/Config.in b/package/acsccid/Config.in
index 165148e09..90624ee79 100644
--- a/package/acsccid/Config.in
+++ b/package/acsccid/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_ACSCCID
bool "acsccid"
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS # pcsc-lite, libusb
+ depends on BR2_USE_MMU # pcsc-lite
+ depends on !BR2_STATIC_LIBS # pcsc-lite
select BR2_PACKAGE_PCSC_LITE
# Even though there is a --disable-libusb option, it has in
# fact no effect, and acsccid really requires libusb.
@@ -11,5 +13,7 @@ config BR2_PACKAGE_ACSCCID
http://acsccid.sourceforge.net/
-comment "acsccid needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "acsccid needs a toolchain w/ threads, dynamic library"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS