[Buildroot] [PATCH 1/8] package: Force copy of .la files at the post install hook (readonly files might be problematic)
llandwerlin at gmail.com
llandwerlin at gmail.com
Fri Apr 30 00:24:06 UTC 2010
From: Lionel Landwerlin <llandwerlin at gmail.com>
Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
---
package/Makefile.autotools.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index a4be8c8..38e57cd 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -200,7 +200,7 @@ ifndef $(2)_INSTALL_STAGING_CMDS
define $(2)_INSTALL_STAGING_CMDS
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
for i in $$$$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \
- cp $$$$i $$$$i~; \
+ cp -f $$$$i $$$$i~; \
$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
done
endef
--
1.7.0.4
More information about the buildroot
mailing list