summaryrefslogtreecommitdiffstats
path: root/package/flex
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex')
-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