summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-26 15:04:59 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-26 15:10:41 +0200
commit3da3c338773021406a76e17f37ba7b9c1650b8b4 (patch)
treedaf873807c107f2429d13c0681441ed932dac521
parente7b5fd80c4d3695341d16b85e9960fb8fd8a9fa6 (diff)
downloadbuildroot-novena-3da3c338773021406a76e17f37ba7b9c1650b8b4.tar.gz
buildroot-novena-3da3c338773021406a76e17f37ba7b9c1650b8b4.zip
flex: fix configure cache issue with BR2_NEEDS_GETTEXT
Flex doesn't NEED gettext/libintl, but it's configure script checks for it, so make sure those a built before flex, otherwise flex will populate tgt-config.cache with invalid values, breaking the build of other packages needing it (like libglib2). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/flex/flex.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/flex/flex.mk b/package/flex/flex.mk
index ad3554822..41c9505f3 100644
--- a/package/flex/flex.mk
+++ b/package/flex/flex.mk
@@ -10,6 +10,9 @@ FLEX_PATCH:=flex_$(FLEX_VERSION)-$(FLEX_PATCH_VERSION).diff.gz
FLEX_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/f/flex
FLEX_DIR:=$(BUILD_DIR)/flex-$(FLEX_VERSION)
FLEX_INSTALL_STAGING=YES
+FLEX_DEPENDENCIES = \
+ $(if $(BR2_PACKAGE_GETTEXT),gettext) \
+ $(if $(BR2_PACKAGE_LIBINTL),libintl)
# lex -> flex
define FLEX_INSTALL_LEX