Change link order so that libbb functions use libpwd.a when appropriate.
authorMatt Kraai <kraai@debian.org>
Mon, 23 Apr 2001 16:11:57 +0000 (16:11 -0000)
committerMatt Kraai <kraai@debian.org>
Mon, 23 Apr 2001 16:11:57 +0000 (16:11 -0000)
Makefile

index 1fefecd10b9953f15edf263f3846d02e6a289cbc..791357fa98a9334e2deb5e4e4ace374e9a662999 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -329,7 +329,7 @@ docs/busybox/busyboxdocumentation.html: docs/busybox.sgml
 
 
 busybox: $(PWD_LIB) $(LIBBB_LIB) $(OBJECTS) 
-       $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(PWD_LIB) $(LIBBB_LIB) $(LIBRARIES)
+       $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBBB_LIB) $(PWD_LIB) $(LIBRARIES)
        $(STRIP)
 
 # Without VPATH, rule expands to "/bin/sh busybox.mkll Config.h applets.h"