summaryrefslogtreecommitdiff
path: root/package/lua/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-23 07:09:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-05-23 07:09:29 +0000
commit554ddcf7550a1ec3c6bf854a538af4ba77ba43ec (patch)
treef887c0e8ad11f1abc94c5d0be3b5597069bd5db6 /package/lua/Makefile
parent4786a3f84a6d3743b1f621a73412a68f88b4a7a0 (diff)
downloadmtk-20170518-554ddcf7550a1ec3c6bf854a538af4ba77ba43ec.zip
mtk-20170518-554ddcf7550a1ec3c6bf854a538af4ba77ba43ec.tar.gz
mtk-20170518-554ddcf7550a1ec3c6bf854a538af4ba77ba43ec.tar.bz2
fix liblua symlink installation
SVN-Revision: 11245
Diffstat (limited to 'package/lua/Makefile')
-rw-r--r--package/lua/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 206740b..e5ac938 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -113,14 +113,13 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/lnum_config.h $(1)/usr/include/
mkdir -p $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.{a,so.*} $(1)/usr/lib/
- ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblua.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.* $(1)/usr/lib/
ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so
endef
define Package/liblua/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.so.* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.so* $(1)/usr/lib/
endef
define Package/lua/install