summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/grep/grep.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk
index 5101ddacf6..a2ef422269 100644
--- a/package/grep/grep.mk
+++ b/package/grep/grep.mk
@@ -11,11 +11,7 @@ GREP_LICENSE = GPL-3.0+
GREP_LICENSE_FILES = COPYING
GREP_CONF_OPTS = --disable-perl-regexp \
$(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex)
-
-# Can use libintl if available
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
-GREP_DEPENDENCIES += gettext
-endif
+GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
# link with iconv if enabled
ifeq ($(BR2_PACKAGE_LIBICONV),y)
OpenPOWER on IntegriCloud