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>
This commit is contained in:
parent
2ffad2a1f2
commit
8989ecda1b
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user