From d24b8afb22c92bc8042f07d7e5073fb2f6f30dc0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 4 Jul 2017 12:34:05 +0200 Subject: [PATCH] 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 --- package/popt/popt.mk | 5 +---- 1 file changed, 1 insertion(+), 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