summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/flex/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index 1ecd0c357..4fbc56c0a 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -14,5 +14,9 @@ config BR2_PACKAGE_FLEX_BINARY
depends on BR2_PACKAGE_FLEX
# runtime dependency
select BR2_PACKAGE_M4
+ depends on BR2_USE_WCHAR # m4
help
Install the flex binary tool in the target filesystem.
+
+comment "flex binary requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR