summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/setools/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/setools/Config.in b/package/setools/Config.in
index 046957f48a..7bab789855 100644
--- a/package/setools/Config.in
+++ b/package/setools/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_SETOOLS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
# bfin: infamous _ symbol prefix issue
# nios2: triggers some toolchain issue "No symbol version
# section for versioned symbol"
@@ -25,7 +26,7 @@ config BR2_PACKAGE_SETOOLS
* secmds - command-line tools to analyze and search SELinux
policy.
-comment "setools needs a toolchain w/ threads, C++, dynamic library"
+comment "setools needs a toolchain w/ threads, C++, wchar, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
- || !BR2_INSTALL_LIBSTDCPP
+ || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
OpenPOWER on IntegriCloud