summaryrefslogtreecommitdiff
path: root/libc/unistd/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:09:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-27 15:09:48 +0000
commit0e4c4d11086a2f00998b0426bffd25a6b1495101 (patch)
tree1b2a42bc68f12c698ba2403a99e4e2ad1d942fed /libc/unistd/Makefile.in
parentcc7fbc32612c169253c073f2ad617a358862e502 (diff)
Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getopt
Diffstat (limited to 'libc/unistd/Makefile.in')
-rw-r--r--libc/unistd/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/unistd/Makefile.in b/libc/unistd/Makefile.in
index 5bd612465..6e85e10c9 100644
--- a/libc/unistd/Makefile.in
+++ b/libc/unistd/Makefile.in
@@ -19,9 +19,12 @@ CSRC := $(filter-out daemon.c,$(CSRC))
endif
ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
-CSRC := $(filter-out getopt-susv3.c,$(CSRC))
+CSRC := $(filter-out getopt-susv3.c getopt_long-susv3.c,$(CSRC))
else
CSRC := $(filter-out getopt.c,$(CSRC))
+ifneq ($(UCLIBC_HAS_GETOPT_LONG),y)
+CSRC := $(filter-out getopt_long-susv3.c,$(CSRC))
+endif
endif
ifeq ($(UCLIBC_HAS_GNU_GETSUBOPT),y)