summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-26 13:04:59 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-26 13:10:41 (GMT)
commit3da3c338773021406a76e17f37ba7b9c1650b8b4 (patch)
treedaf873807c107f2429d13c0681441ed932dac521
parente7b5fd80c4d3695341d16b85e9960fb8fd8a9fa6 (diff)
downloadbuildroot-3da3c338773021406a76e17f37ba7b9c1650b8b4.tar.gz
buildroot-3da3c338773021406a76e17f37ba7b9c1650b8b4.tar.bz2
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 ad35548..41c9505 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