mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00: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:
parent
7ffd15029f
commit
68b2218cb5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user