diff --git a/package/gettext/Config.in b/package/gettext/Config.in index 0dea03d18d..bf16c34d3e 100644 --- a/package/gettext/Config.in +++ b/package/gettext/Config.in @@ -17,7 +17,7 @@ if BR2_PACKAGE_GETTEXT config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL bool depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT - default y if BR2_SYSTEM_ENABLE_NLS + default y endif diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 454ad298a9..f3325dc6c1 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -42,7 +42,7 @@ HOST_GETTEXT_CONF_OPTS = \ # Force the build of libintl, even if the C library provides a stub # gettext implementation ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -GETTEXT_CONF_OPTS += --with-included-gettext +GETTEXT_CONF_OPTS += --with-included-gettext --enable-nls else GETTEXT_CONF_OPTS += --without-included-gettext endif