From: Thomas Petazzoni Date: Tue, 4 Jul 2017 10:31:20 +0000 (+0200) Subject: libgpg-error: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8acb2cb3913aac0e2b5360188b898f2a6a36ff62;p=buildroot.git libgpg-error: 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/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk index 183654b7f9..2140258c6e 100644 --- a/package/libgpg-error/libgpg-error.mk +++ b/package/libgpg-error/libgpg-error.mk @@ -10,10 +10,7 @@ LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+ LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config - -ifeq ($(BR2_PACKAGE_GETTEXT),y) -LIBGPG_ERROR_DEPENDENCIES += gettext -endif +LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) define LIBGPG_ERROR_FIX_CROSS_COMPILATION cd $(@D)/src/syscfg && \