summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/flex/Config.in1
-rw-r--r--package/flex/flex.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index 90a75f475..f74a0f0e8 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_FLEX
bool "flex"
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
A fast lexical analyser generator. A tool for generating
programs that perform pattern-matching on text.
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index 59551f22b..f7e319f1c 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -10,7 +10,7 @@ FLEX_INSTALL_STAGING = YES
FLEX_LICENSE = FLEX
FLEX_LICENSE_FILES = COPYING
FLEX_DEPENDENCIES = \
- $(if $(BR2_PACKAGE_GETTEXT),gettext) host-m4
+ $(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
# we don't have a host-gettext/libintl
HOST_FLEX_DEPENDENCIES = host-m4