summaryrefslogtreecommitdiff
path: root/libc/stdlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/Makefile')
-rw-r--r--libc/stdlib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index 64ae75d18..e69ec4ea8 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -35,6 +35,12 @@ ifeq ($(HAS_LONG_LONG),true)
MOBJ += llabs.o atoll.o strtoll.o strtoull.o _stdlib_strto_ll.o
endif
+ifeq ($(HAS_WCHAR),true)
+ MOBJ += mblen.o mbtowc.o wctomb.o mbstowcs.o wcstombs.o \
+ _stdlib_mb_cur_max.o
+endif
+
+
MSRC2=atexit.c
MOBJ2=atexit.o on_exit.o __exit_handler.o exit.o