Skip to content

Commit 8048aeb

Browse files
authored
Don't build bind_textdomain_codeset.c (#122)
`bind_textdomain_codeset` without the rest of libintl.h isn't useful without the rest of gettext.
1 parent a8a5dbc commit 8048aeb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
137137
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/stdio/*.c)) \
138138
$(filter-out %/strsignal.c, \
139139
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/string/*.c)) \
140-
$(filter-out %/dcngettext.c %/textdomain.c, \
140+
$(filter-out %/dcngettext.c %/textdomain.c %/bind_textdomain_codeset.c, \
141141
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/locale/*.c)) \
142142
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/stdlib/*.c) \
143143
$(wildcard $(LIBC_TOP_HALF_MUSL_SRC_DIR)/search/*.c) \

expected/wasm32-wasi/defined-symbols.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ atoll
313313
basename
314314
bcmp
315315
bcopy
316-
bind_textdomain_codeset
317316
bsearch
318317
btowc
319318
bzero

0 commit comments

Comments
 (0)