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>
This commit is contained in:
parent
8447f0b277
commit
1d7a80d761
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user