From 0e4c4d11086a2f00998b0426bffd25a6b1495101 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 27 Feb 2006 15:09:48 +0000 Subject: Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getopt --- libc/unistd/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/unistd/Makefile.in') 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) -- cgit v1.2.3