summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/Makefile')
-rw-r--r--libc/misc/statfs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile
index fea23d741..4da855b28 100644
--- a/libc/misc/statfs/Makefile
+++ b/libc/misc/statfs/Makefile
@@ -22,7 +22,11 @@
TOPDIR=../../../
include $(TOPDIR)Rules.mak
+ifeq ($(strip $(__UCLIBC_HAVE_LFS__)),true)
CSRC = fstatfs64.c statfs64.c statvfs.c statvfs64.c fstatvfs.c fstatvfs64.c
+else
+CSRC = statvfs.c fstatvfs.c
+endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)