]> git.proxmox.com Git - wasi-libc.git/commitdiff
Don't build bind_textdomain_codeset.c (#122)
authorDan Gohman <sunfish@mozilla.com>
Mon, 28 Oct 2019 17:35:45 +0000 (10:35 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2019 17:35:45 +0000 (10:35 -0700)
`bind_textdomain_codeset` without the rest of libintl.h isn't useful
without the rest of gettext.

Makefile
expected/wasm32-wasi/defined-symbols.txt

index 686e67374c001359ebc11f196cc2caa5c6091438..ee8e8e8437e912b5a7fd3a22915c6bc175d06a88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -137,7 +137,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
                  $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/stdio/*.c)) \
     $(filter-out %/strsignal.c, \
                  $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/string/*.c)) \
-    $(filter-out %/dcngettext.c %/textdomain.c, \
+    $(filter-out %/dcngettext.c %/textdomain.c %/bind_textdomain_codeset.c, \
                  $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/locale/*.c)) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/stdlib/*.c) \
     $(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/search/*.c) \
index 6b97f522d02acd2b6a4b0a3120d3619ba58772f6..e80a453b01168d69d0109bf55b803dd95a86cbd5 100644 (file)
@@ -313,7 +313,6 @@ atoll
 basename
 bcmp
 bcopy
-bind_textdomain_codeset
 bsearch
 btowc
 bzero