summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Dowle <reuben.dowle@4rf.com>2013-02-13 15:12:02 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-04 20:39:16 (GMT)
commit93e5c7d9f2964dcee6acca94e17075f042ba1751 (patch)
treeb6305ec79d513c016b601dc8ce1f3ff046460572
parentd26b5a26b9cb8179df76c930130a165f4cc188b6 (diff)
downloadbuildroot-93e5c7d9f2964dcee6acca94e17075f042ba1751.tar.gz
buildroot-93e5c7d9f2964dcee6acca94e17075f042ba1751.tar.bz2
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 <reuben.dowle at 4rf.com>
-rw-r--r--package/dmalloc/dmalloc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dmalloc/dmalloc.mk b/package/dmalloc/dmalloc.mk
index 8623829..fd4e976 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