From cc7fbc32612c169253c073f2ad617a358862e502 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 27 Feb 2006 15:02:45 +0000 Subject: Add Rich Felker's getsubopt, smaller then the glibc copied one --- libc/unistd/Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libc/unistd/Makefile.in') diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in index 4a0bb0734..5bd612465 100644 --- a/libc/unistd/Makefile.in +++ b/libc/unistd/Makefile.in @@ -24,6 +24,12 @@ else CSRC := $(filter-out getopt.c,$(CSRC)) endif +ifeq ($(UCLIBC_HAS_GNU_GETSUBOPT),y) +CSRC := $(filter-out getsubopt-susv3.c,$(CSRC)) +else +CSRC := $(filter-out getsubopt.c,$(CSRC)) +endif + ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) CSRC := $(filter-out sleep.c,$(CSRC)) endif -- cgit v1.2.3