summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 12:34:05 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:34:03 +0200
commitd24b8afb22c92bc8042f07d7e5073fb2f6f30dc0 (patch)
treeb64263a03156c27b918121d25690d82db646de5b
parent0747f21e126d4eea94bd0ee0478612b2560fe73e (diff)
downloadbuildroot-d24b8afb22c92bc8042f07d7e5073fb2f6f30dc0.tar.gz
buildroot-d24b8afb22c92bc8042f07d7e5073fb2f6f30dc0.zip
popt: 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/popt/popt.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/popt/popt.mk b/package/popt/popt.mk
index 3ab53880d5..99c5138bdf 100644
--- a/package/popt/popt.mk
+++ b/package/popt/popt.mk
@@ -11,10 +11,7 @@ POPT_LICENSE = MIT
POPT_LICENSE_FILES = COPYING
POPT_AUTORECONF = YES
POPT_GETTEXTIZE = YES
-
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
-POPT_DEPENDENCIES += gettext
-endif
+POPT_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
POPT_CONF_ENV = ac_cv_va_copy=yes
OpenPOWER on IntegriCloud