mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user