From 93e5c7d9f2964dcee6acca94e17075f042ba1751 Mon Sep 17 00:00:00 2001 From: Reuben Dowle Date: Wed, 13 Feb 2013 15:12:02 +0000 Subject: [PATCH] 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 --- package/dmalloc/dmalloc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2