mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Revert "gettext: build libintl unconditionally for uClibc/musl"
This reverts commit 431d00abc1, 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>
This commit is contained in:
@@ -17,7 +17,7 @@ if BR2_PACKAGE_GETTEXT
|
|||||||
config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL
|
config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL
|
||||||
bool
|
bool
|
||||||
depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
|
depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
|
||||||
default y
|
default y if BR2_SYSTEM_ENABLE_NLS
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ HOST_GETTEXT_CONF_OPTS = \
|
|||||||
# Force the build of libintl, even if the C library provides a stub
|
# Force the build of libintl, even if the C library provides a stub
|
||||||
# gettext implementation
|
# gettext implementation
|
||||||
ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
|
ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
|
||||||
GETTEXT_CONF_OPTS += --with-included-gettext --enable-nls
|
GETTEXT_CONF_OPTS += --with-included-gettext
|
||||||
else
|
else
|
||||||
GETTEXT_CONF_OPTS += --without-included-gettext
|
GETTEXT_CONF_OPTS += --without-included-gettext
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user