summaryrefslogtreecommitdiffstats
path: root/package/libbsd
diff options
context:
space:
mode:
Diffstat (limited to 'package/libbsd')
-rw-r--r--package/libbsd/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
index 915a4bd98..1fa94978b 100644
--- a/package/libbsd/Config.in
+++ b/package/libbsd/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBBSD
# libbsd requires a.out.h, which is only available for those
# architectures: arm, m68k, x86 (and alpha, but we don't care.)
depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making
@@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBBSD
project.
http://libbsd.freedesktop.org/
+
+comment "libbsd requires a toolchain with thread support"
+ depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+ depends on !BR2_TOOLCHAIN_HAS_THREADS