Explorar o código

locale support must be enabled, when libc iconv used

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
9351601c88
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      toolchain/uclibc-ng/Makefile

+ 3 - 0
toolchain/uclibc-ng/Makefile

@@ -86,6 +86,9 @@ ifeq ($(ADK_TARGET_BINFMT_FLAT_SHARED),y)
 	$(SED) 's/.*\(UCLIBC_FORMAT_FDPIC_ELF\).*/# \1 is not set/' ${WRKBUILD}/.config
 endif
 endif
+ifeq ($(ADK_TARGET_LIBC_ICONV),y)
+	$(SED) 's/.*\(UCLIBC_HAS_LOCALE\).*/\1=y/' ${WRKBUILD}/.config
+endif
 ifeq ($(ADK_TARGET_UCLINUX),y)
 	$(SED) 's/.*\(ARCH_USE_MMU\).*/# \1 is not set/' ${WRKBUILD}/.config
 endif