summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in4
-rw-r--r--package/gettext/Config.in1
2 files changed, 3 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 4a5b3afd32..462b7cabbb 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -359,8 +359,8 @@ TARGET_CONFIGURE_ARGS = \
################################################################################
-ifeq ($(BR2_ENABLE_LOCALE),y)
-NLS_OPTS =
+ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
+NLS_OPTS = --enable-nls
else
NLS_OPTS = --disable-nls
endif
diff --git a/package/gettext/Config.in b/package/gettext/Config.in
index 18bfda6461..0dea03d18d 100644
--- a/package/gettext/Config.in
+++ b/package/gettext/Config.in
@@ -17,6 +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
endif
OpenPOWER on IntegriCloud