summaryrefslogtreecommitdiff
path: root/package/libevent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libevent/Makefile')
-rw-r--r--package/libevent/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libevent/Makefile b/package/libevent/Makefile
index 7d4d56f13d..487fe559a1 100644
--- a/package/libevent/Makefile
+++ b/package/libevent/Makefile
@@ -59,16 +59,16 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBEVENT):
install -d -m0755 $(IDIR_LIBEVENT)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(IDIR_LIBEVENT)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(IDIR_LIBEVENT)/usr/lib/
$(RSTRIP) $(IDIR_LIBEVENT)
$(IPKG_BUILD) $(IDIR_LIBEVENT) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libevent.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fpR $(PKG_INSTALL_DIR)/usr/include/event.h $(STAGING_DIR)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/event.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent.{a,so} $(STAGING_DIR)/usr/lib/
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so* $(STAGING_DIR)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent.{a,so} $(STAGING_DIR)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so* $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libevent.so