Quellcode durchsuchen

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>
Reuben Dowle vor 12 Jahren
Ursprung
Commit
93e5c7d9f2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      package/dmalloc/dmalloc.mk

+ 1 - 1
package/dmalloc/dmalloc.mk

@@ -47,7 +47,7 @@ define DMALLOC_INSTALL_STAGING_CMDS
 endef
 endef
 
 
 define DMALLOC_INSTALL_TARGET_CMDS
 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
 	cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/usr/bin/dmalloc
 endef
 endef