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 1fefecd..791357f 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"