diff options
Diffstat (limited to 'libc/misc/Makefile')
-rw-r--r-- | libc/misc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile index dfa1bf9ea..2a43c9f2f 100644 --- a/libc/misc/Makefile +++ b/libc/misc/Makefile @@ -26,7 +26,10 @@ include $(TOPDIR)Rules.mak DIRS = assert ctype dirent file fnmatch glob internals lsearch \ - mntent syslog time utmp tsearch locale regex sysvipc statfs + mntent syslog time utmp tsearch locale sysvipc statfs +ifeq ($(strip $(INCLUDE_REGEX)),true) +DIRS += regex +endif all: libc.a |