summaryrefslogtreecommitdiff
path: root/package/libtool
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/libtool
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/libtool')
-rw-r--r--package/libtool/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 79dca5f0ae..2342fb0b0c 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -60,15 +60,15 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(IPKG_LIBLTDL):
install -m0755 -d $(IDIR_LIBLTDL)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
$(RSTRIP) $(IDIR_LIBLTDL)
$(IPKG_BUILD) $(IDIR_LIBLTDL) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libltdl.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
mkdir -p $(I_LIBLTDL_DEV)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libltdl.so