diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-03 09:39:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-03 09:39:11 +0000 |
commit | 24e8f0ec75bc5ac8a809c31fd553ff5e8eff5dc0 (patch) | |
tree | 80ebf3e76e5dfc7cc60a6361cda436b8b68641b4 /libc/unistd/Makefile | |
parent | b53580e461f6d83a0d897c61c3c6681b621cf174 (diff) |
Make getopt act the same regardless whether the app was staticly linked
or dynamicly linked. Obeys the principle of least surprise.
-Erik
Diffstat (limited to 'libc/unistd/Makefile')
-rw-r--r-- | libc/unistd/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index 12f3f6f2e..be002c64c 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -25,8 +25,8 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak DIRS:= -CSRC=execl.c execlp.c execv.c execvep.c execvp.c execle.c getcwd.c getopt.c \ - sleep.c usleep.c getpass.c sysconf_src.c getopt_vars.c getlogin.c \ +CSRC=execl.c execlp.c execv.c execvep.c execvp.c execle.c getcwd.c \ + sleep.c usleep.c getpass.c sysconf_src.c getlogin.c \ fpathconf.c confstr.c pathconf.c ifeq ($(strip $(HAS_MMU)),true) CSRC+=daemon.c @@ -41,11 +41,9 @@ endif COBJS=$(patsubst %.c,%.o, $(CSRC)) -MSRC=gnu_getopt.c +MSRC=getopt.c MOBJ=_gnu_getopt_internal.o gnu_getopt_long.o gnu_getopt_long_only.o -# WARNING! MOBJ _must_ come after COBJS for link to pick getopt -# over gnu_getopt when appropriate. OBJS=$(COBJS) $(MOBJ) all: $(SYSCONF) $(OBJS) $(LIBC) |