diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-04 12:25:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:27:26 +0200 |
commit | 1d7a80d761fe88d15a91cc1913e75fccf4ef577a (patch) | |
tree | 1c5750739c37865e055c85b6a384f1473cb0ebfe | |
parent | 8447f0b277e2b5cf0690dd4fe2721fd3d6521f0f (diff) | |
download | buildroot-1d7a80d761fe88d15a91cc1913e75fccf4ef577a.tar.gz buildroot-1d7a80d761fe88d15a91cc1913e75fccf4ef577a.zip |
grep: use the new gettext logic
This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/grep/grep.mk | 6 |
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) |