summaryrefslogtreecommitdiff
path: root/libc/misc/regex/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/Makefile.in')
-rw-r--r--libc/misc/regex/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/regex/Makefile.in b/libc/misc/regex/Makefile.in
index 5c86e874d..9cd403add 100644
--- a/libc/misc/regex/Makefile.in
+++ b/libc/misc/regex/Makefile.in
@@ -6,7 +6,11 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+ifeq ($(UCLIBC_HAS_REGEX_OLD),y)
CSRC:=regex_old.c
+else
+CSRC:=regex.c
+endif
MISC_REGEX_DIR:=$(top_srcdir)libc/misc/regex
MISC_REGEX_OUT:=$(top_builddir)libc/misc/regex