mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
f14b3705de
- unify configs of host/target - disable stuff to decrease build time - disable interactive gettextize: see http://lists.busybox.net/pipermail/buildroot/2014-April/093394.html Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
12 lines
650 B
Diff
12 lines
650 B
Diff
--- a/gettext-runtime/intl/localename.c
|
|
+++ b/gettext-runtime/intl/localename.c
|
|
@@ -2790,7 +2790,7 @@ gl_locale_name_posix (int category, cons
|
|
{
|
|
/* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'.
|
|
On some systems this can be done by the 'setlocale' function itself. */
|
|
-#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL
|
|
+#if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL && (!defined __UCLIBC__ || defined __UCLIBC_HAS_LOCALE__)
|
|
return setlocale (category, NULL);
|
|
#else
|
|
/* On other systems we ignore what setlocale reports and instead look at the
|