summaryrefslogtreecommitdiffstats
path: root/openwrt/package/tcp_wrappers/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
commitf606c1f91a6eabddbe597c017bc7ce78ade16850 (patch)
tree72da19c6e46497fac205668525cec2563d9cf290 /openwrt/package/tcp_wrappers/Makefile
parent6596e28b2d106fd5ee597bc46dd5017e2c44cd0a (diff)
Always use -R flag with cp (to preserve symlinks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/tcp_wrappers/Makefile')
-rw-r--r--openwrt/package/tcp_wrappers/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/tcp_wrappers/Makefile b/openwrt/package/tcp_wrappers/Makefile
index 17f8c2977..cb24ed527 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