summaryrefslogtreecommitdiffstats
path: root/package/libnfc/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnfc/Config.in')
-rw-r--r--package/libnfc/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in
index 3d67d58f3..159578f6a 100644
--- a/package/libnfc/Config.in
+++ b/package/libnfc/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBNFC
bool "libnfc"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
@@ -11,3 +12,6 @@ config BR2_PACKAGE_LIBNFC_EXAMPLES
bool "build libnfc examples"
depends on BR2_PACKAGE_LIBNFC
select BR2_PACKAGE_READLINE
+
+comment "libnfc needs a toolchain with thread support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS