summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libbsd/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
index e80e9ea824..47fce04fef 100644
--- a/package/libbsd/Config.in
+++ b/package/libbsd/Config.in
@@ -11,6 +11,7 @@ config BR2_PACKAGE_LIBBSD
bool "libbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_WCHAR
help
This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making
@@ -20,6 +21,6 @@ config BR2_PACKAGE_LIBBSD
http://libbsd.freedesktop.org/
-comment "libbsd needs a toolchain w/ threads"
+comment "libbsd needs a toolchain w/ threads, wchar"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
OpenPOWER on IntegriCloud