summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/fnmatch/Makefile.in6
-rw-r--r--libc/misc/fnmatch/fnmatch_old.c (renamed from libc/misc/fnmatch/fnmatch.c)0
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/misc/fnmatch/Makefile.in b/libc/misc/fnmatch/Makefile.in
index 5476672df..e2a83f223 100644
--- a/libc/misc/fnmatch/Makefile.in
+++ b/libc/misc/fnmatch/Makefile.in
@@ -6,11 +6,13 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+CSRC:=fnmatch_old.c
+
MISC_FNMATCH_DIR:=$(top_srcdir)libc/misc/fnmatch
MISC_FNMATCH_OUT:=$(top_builddir)libc/misc/fnmatch
-MISC_FNMATCH_SRC:=$(MISC_FNMATCH_DIR)/fnmatch.c
-MISC_FNMATCH_OBJ:=$(MISC_FNMATCH_OUT)/fnmatch.o
+MISC_FNMATCH_SRC:=$(patsubst %.c,$(MISC_FNMATCH_DIR)/%.c,$(CSRC))
+MISC_FNMATCH_OBJ:=$(patsubst %.c,$(MISC_FNMATCH_OUT)/%.c,$(CSRC))
libc-a-y+=$(MISC_FNMATCH_OBJ)
libc-so-y+=$(MISC_FNMATCH_OBJ:.o=.os)
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch_old.c
index 892738999..892738999 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch_old.c