431d00abc1
Only the initial patches of the gettext series have been applied, and a bisectability problem has arised: when BR2_SYSTEM_ENABLE_NLS is disabled, which is the default, gettext no longer builds libintl. However, since packages have not yet been updated to the new gettext logic, they still try to link against libintl, because they rely on BR2_NEEDS_GETTEXT/BR2_NEEDS_GETTEXT_IF_LOCALE, which are true. So, as a temporary measure, we adjust the gettext package so that it unconditionally builds libintl for uClibc/musl, even when NLS is disabled. This commit will be reverted once all packages have been fixed. Fixes: http://autobuild.buildroot.net/results/a4cf71c34dcc5c750ea87a16014c2cb2d28cdebd/ (elfutils) http://autobuild.buildroot.net/results/cb9ae18295b21b3f9399be6edd82273add375656/ (linux-pam) http://autobuild.buildroot.net/results/4225e5dfb6bcf590d9c1068112472ee82bc87d6b/ (alsa-utils) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
649 B
Plaintext
27 lines
649 B
Plaintext
config BR2_PACKAGE_GETTEXT
|
|
bool "gettext"
|
|
depends on BR2_USE_WCHAR
|
|
help
|
|
The GNU `gettext' utilities are a set of tools that provide a
|
|
framework to help other GNU packages produce multi-lingual
|
|
messages.
|
|
|
|
Only the libintl library will be installed in the
|
|
target. The full gettext suite, including tools, will be
|
|
installed in the staging directory.
|
|
|
|
http://www.gnu.org/software/gettext/
|
|
|
|
if BR2_PACKAGE_GETTEXT
|
|
|
|
config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL
|
|
bool
|
|
depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
|
|
default y
|
|
|
|
endif
|
|
|
|
comment "gettext needs a toolchain w/ wchar"
|
|
depends on BR2_NEEDS_GETTEXT
|
|
depends on !BR2_USE_WCHAR
|