mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Makefile.autotools.in: fixup .la files in all lib dirs
Sometimes usr/lib32 or usr/lib64 is used instead of usr/lib, so search those for .la files as well. Fixes .la fixup for beecrypt on x86-64. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -201,7 +201,7 @@ endif
|
|||||||
ifndef $(2)_INSTALL_STAGING_CMDS
|
ifndef $(2)_INSTALL_STAGING_CMDS
|
||||||
define $(2)_INSTALL_STAGING_CMDS
|
define $(2)_INSTALL_STAGING_CMDS
|
||||||
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||||
for i in $$$$(find $(STAGING_DIR)/usr/lib/ -name "*.la"); do \
|
for i in $$$$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \
|
||||||
cp $$$$i $$$$i~; \
|
cp $$$$i $$$$i~; \
|
||||||
$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
|
$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user