From: Reuben Dowle Date: Wed, 13 Feb 2013 15:12:02 +0000 (+0000) Subject: dmalloc: Stop libdmalloc*.so files from being deleted from staging directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93e5c7d9f2964dcee6acca94e17075f042ba1751;p=buildroot.git dmalloc: Stop libdmalloc*.so files from being deleted from staging directory Fix libdmalloc*.so files being deleted from the staging directory as the package is installed into the target. Signed-off-by: Reuben Dowle --- diff --git a/package/dmalloc/dmalloc.mk b/package/dmalloc/dmalloc.mk index 86238291ca..fd4e976809 100644 --- a/package/dmalloc/dmalloc.mk +++ b/package/dmalloc/dmalloc.mk @@ -47,7 +47,7 @@ define DMALLOC_INSTALL_STAGING_CMDS endef define DMALLOC_INSTALL_TARGET_CMDS - mv $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib + cp -dpf $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/usr/bin/dmalloc endef