From: Thomas Petazzoni Date: Tue, 4 Jul 2017 10:34:05 +0000 (+0200) Subject: popt: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d24b8afb22c92bc8042f07d7e5073fb2f6f30dc0;p=buildroot.git 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 --- 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