mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
bsdiff: libraries should go after source files using them in linker invocation
Fixes http://autobuild.buildroot.net/results/2a6e213997c06136e18b25a1b0e91d8782acbfc4/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -9,10 +9,10 @@ BSDIFF_SITE = http://www.daemonology.net/bsdiff
|
|||||||
BSDIFF_DEPENDENCIES = bzip2
|
BSDIFF_DEPENDENCIES = bzip2
|
||||||
|
|
||||||
define BSDIFF_BUILD_CMDS
|
define BSDIFF_BUILD_CMDS
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -lbz2 \
|
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||||
$(@D)/bsdiff.c -o $(@D)/bsdiff
|
$(@D)/bsdiff.c -lbz2 -o $(@D)/bsdiff
|
||||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -lbz2 \
|
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||||
$(@D)/bspatch.c -o $(@D)/bspatch
|
$(@D)/bspatch.c -lbz2 -o $(@D)/bspatch
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define BSDIFF_INSTALL_TARGET_CMDS
|
define BSDIFF_INSTALL_TARGET_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user