summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-11-01 04:35:44 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-06 22:23:35 (GMT)
commit8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058 (patch)
tree528899951693064838343471b2f8c77b536d6f10
parent2ffad2a1f2f6abd60769bd7f2753ebe3d9ca0396 (diff)
downloadbuildroot-8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058.tar.gz
buildroot-8989ecda1bd8955b8a5dfebf0b28ddf1cb2e9058.tar.bz2
flex: only needs gettext if locale is selected
Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 90a75f4..f74a0f0 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 59551f2..f7e319f 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