summaryrefslogtreecommitdiff
path: root/libc/misc/locale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/locale/Makefile')
-rw-r--r--libc/misc/locale/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile
index e90ada064..4f287f02c 100644
--- a/libc/misc/locale/Makefile
+++ b/libc/misc/locale/Makefile
@@ -24,6 +24,9 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
CSRC=locale.c localeconv.c
+ifeq ($(strip $(HAS_LOCALE)),true)
+ CSRC+=nl_langinfo.c C-collate.c C-ctype.c C-messages.c C-monetary.c C-numeric.c C-time.c C_name.c
+endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)