From f606c1f91a6eabddbe597c017bc7ce78ade16850 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 8 Jun 2005 19:54:05 +0000 Subject: Always use -R flag with cp (to preserve symlinks) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/tcp_wrappers/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openwrt/package/tcp_wrappers') diff --git a/openwrt/package/tcp_wrappers/Makefile b/openwrt/package/tcp_wrappers/Makefile index 17f8c29777..cb24ed5276 100644 --- a/openwrt/package/tcp_wrappers/Makefile +++ b/openwrt/package/tcp_wrappers/Makefile @@ -41,16 +41,16 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBWRAP): install -d -m0755 $(IDIR_LIBWRAP)/usr/lib - cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/ + cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/ $(RSTRIP) $(IDIR_LIBWRAP) $(IPKG_BUILD) $(IDIR_LIBWRAP) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libwrap.a: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fp $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fp $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/ -# cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/ + cp -fpR $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/ +# cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libwrap.a -- cgit v1.2.3