summaryrefslogtreecommitdiff
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib/Makefile')
-rw-r--r--package/zlib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index f5a39b2685..cfd82800a8 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -43,15 +43,15 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_ZLIB):
install -m0755 -d $(IDIR_ZLIB)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(IDIR_ZLIB)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(IDIR_ZLIB)/usr/lib/
$(RSTRIP) $(IDIR_ZLIB)
$(IPKG_BUILD) $(IDIR_ZLIB) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fpR $(PKG_INSTALL_DIR)/usr/include/*.h $(STAGING_DIR)/usr/include
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(STAGING_DIR)/usr/include
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/* $(STAGING_DIR)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(STAGING_DIR)/usr/lib
touch $(STAGING_DIR)/usr/lib/libz.so
install-dev: $(STAGING_DIR)/usr/lib/libz.so