dmalloc: Stop libdmalloc*.so files from being deleted from staging directory
authorReuben Dowle <reuben.dowle@4rf.com>
Wed, 13 Feb 2013 15:12:02 +0000 (15:12 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 4 May 2013 20:39:16 +0000 (22:39 +0200)
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>
package/dmalloc/dmalloc.mk

index 86238291cab2c8e8e14a1fd3923729b01ea550f7..fd4e9768091897051079ed1aa33d35f61fbdb1e5 100644 (file)
@@ -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