summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:25:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:25:59 +0200
commitde291b06a92849a089d49f9ab801dac0b4c63fab (patch)
treedeaf544acec345e2b5bd122d7ec1485a383adb7d
parent96fa6b4ea19f8b97ae38c0d331f3cea9fb04e634 (diff)
downloadbuildroot-de291b06a92849a089d49f9ab801dac0b4c63fab.tar.gz
buildroot-de291b06a92849a089d49f9ab801dac0b4c63fab.zip
Revert "gettext: build libintl unconditionally for uClibc/musl"
This reverts commit 431d00abc1ffd0db287f0392e45229a53db7a187, which in fact doesn't work for static linking situations, as can be seen in: http://autobuild.buildroot.net/results/a6a4039f23a6fbd2bdb5938bcef097a7310452cc/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gettext/Config.in2
-rw-r--r--package/gettext/gettext.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/gettext/Config.in b/package/gettext/Config.in
index bf16c34d3e..0dea03d18d 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
+ default y if BR2_SYSTEM_ENABLE_NLS
endif
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index f3325dc6c1..454ad298a9 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 --enable-nls
+GETTEXT_CONF_OPTS += --with-included-gettext
else
GETTEXT_CONF_OPTS += --without-included-gettext
endif
OpenPOWER on IntegriCloud