summaryrefslogtreecommitdiffstats
path: root/package/tcp_wrappers
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
commitb3c03528073cc5a1c276717bd837c79436da6c47 (patch)
tree83f34e6e24ddf9a75dc7374e57d632b0948e581f /package/tcp_wrappers
parentb19c40c2af5d2e12cefabd328a33adb1841816c4 (diff)
Always use -R flag with cp (to preserve symlinks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/tcp_wrappers')
-rw-r--r--package/tcp_wrappers/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/tcp_wrappers/Makefile b/package/tcp_wrappers/Makefile
index 17f8c2977..cb24ed527 100644
--- a/package/tcp_wrappers/Makefile
+++ b/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