summaryrefslogtreecommitdiff
path: root/libc/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/Makefile')
-rw-r--r--libc/misc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 30c92fcf8..eb3dfd84d 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -21,7 +21,11 @@
# respective copyright holders.
-DIRS = assert crypt ctype fnmatch glob internals lsearch regex shm time
+DIRS = assert crypt fnmatch glob internals lsearch regex shm time
+
+ifeq ($(USE_CTYPE_C_FUNCTIONS),true)
+ DIRS+=ctype
+endif
all: libc.a