summaryrefslogtreecommitdiff
path: root/libc/misc/glob/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/glob/Makefile.in')
-rw-r--r--libc/misc/glob/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/misc/glob/Makefile.in b/libc/misc/glob/Makefile.in
index 7a4fa79f1..2eda3dea2 100644
--- a/libc/misc/glob/Makefile.in
+++ b/libc/misc/glob/Makefile.in
@@ -6,10 +6,17 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
+ifeq ($(UCLIBC_HAS_GNU_GLOB),y)
CSRC := glob.c glob-hooks.c
ifeq ($(UCLIBC_HAS_LFS),y)
CSRC += glob64.c
endif
+else
+CSRC := glob-susv3.c
+ifeq ($(UCLIBC_HAS_LFS),y)
+CSRC += glob64-susv3.c
+endif
+endif
MISC_GLOB_DIR := $(top_srcdir)libc/misc/glob
MISC_GLOB_OUT := $(top_builddir)libc/misc/glob