diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-06-08 19:54:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-06-08 19:54:05 +0000 |
commit | 45c6c3628579e4a00c1104413f3364108137f571 (patch) | |
tree | 72da19c6e46497fac205668525cec2563d9cf290 /openwrt/package/lua | |
parent | 417b433766a3236138b965d2820f3a0495c5e182 (diff) | |
download | mtk-20170518-45c6c3628579e4a00c1104413f3364108137f571.zip mtk-20170518-45c6c3628579e4a00c1104413f3364108137f571.tar.gz mtk-20170518-45c6c3628579e4a00c1104413f3364108137f571.tar.bz2 |
Always use -R flag with cp (to preserve symlinks)
SVN-Revision: 1175
Diffstat (limited to 'openwrt/package/lua')
-rw-r--r-- | openwrt/package/lua/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openwrt/package/lua/Makefile b/openwrt/package/lua/Makefile index a36c3ac..95f5fec 100644 --- a/openwrt/package/lua/Makefile +++ b/openwrt/package/lua/Makefile @@ -57,19 +57,19 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBLUA): install -d -m0755 $(IDIR_LIBLUA)/usr/lib - cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/ $(RSTRIP) $(IDIR_LIBLUA) $(IPKG_BUILD) $(IDIR_LIBLUA) $(PACKAGE_DIR) $(IPKG_LUA_INTERPRETER): install -d -m0755 $(IDIR_LUA_INTERPRETER)/usr/bin - cp -fp $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/ + cp -fpR $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/ $(RSTRIP) $(IDIR_LUA_INTERPRETER) $(IPKG_BUILD) $(IDIR_LUA_INTERPRETER) $(PACKAGE_DIR) $(IPKG_LUA_COMPILER): install -d -m0755 $(IDIR_LUA_COMPILER)/usr/bin - cp -fp $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/ + cp -fpR $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/ $(RSTRIP) $(IDIR_LUA_COMPILER) $(IPKG_BUILD) $(IDIR_LUA_COMPILER) $(PACKAGE_DIR) @@ -82,10 +82,10 @@ $(IPKG_LUA_EXAMPLES): $(STAGING_DIR)/usr/lib/liblua.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fp $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/ - cp -fp $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/ + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/liblua.so |