From e8b469b81fe06cbc01f2c00dfe11a2193c612327 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 30 Apr 2010 02:24:06 +0200 Subject: package: Force copy of .la files at the post install hook (readonly files might be problematic) Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- package/Makefile.autotools.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 34aab77a2..b7a710359 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -201,7 +201,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 -- cgit v1.2.3