Commit 3da3c338 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent e7b5fd80
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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