bsdiff: libraries should go after source files using them in linker invocation
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jul 2012 09:10:59 +0000 (11:10 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 2 Jul 2012 09:10:59 +0000 (11:10 +0200)
Fixes http://autobuild.buildroot.net/results/2a6e213997c06136e18b25a1b0e91d8782acbfc4/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/bsdiff/bsdiff.mk

index 66a7722f076f9b753b43e033f225d625daa950a8..e8d9ec01505dfcc3064fd7e69c02ce5dd8ff7d2d 100644 (file)
@@ -9,10 +9,10 @@ BSDIFF_SITE = http://www.daemonology.net/bsdiff
 BSDIFF_DEPENDENCIES = bzip2
 
 define BSDIFF_BUILD_CMDS
-       $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -lbz2 \
-               $(@D)/bsdiff.c -o $(@D)/bsdiff
-       $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -lbz2 \
-               $(@D)/bspatch.c -o $(@D)/bspatch
+       $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+               $(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
+       $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
+               $(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
 endef
 
 define BSDIFF_INSTALL_TARGET_CMDS