summaryrefslogtreecommitdiffhomepage
path: root/lua-5.3.3.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-23 11:04:08 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-06-23 11:04:08 +0000
commit347d4f8ec96fc101c34be53a6ef43aef6a25c0f0 (patch)
tree13fc85e5716e7feb6d1ceab851e66be0c270e665 /lua-5.3.3.local.patch
parent7bcd01722beb0771395b29d8bde120a9f4378697 (diff)
downloadmidipix_build-347d4f8ec96fc101c34be53a6ef43aef6a25c0f0.tar.bz2
midipix_build-347d4f8ec96fc101c34be53a6ef43aef6a25c0f0.tar.xz
Fixes lua v5.3.3 bin/ symlink generation.
Followup to <828f47c2ab824d93b8aa4cdb00bb71cea43fcaba>.
Diffstat (limited to 'lua-5.3.3.local.patch')
-rw-r--r--lua-5.3.3.local.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua-5.3.3.local.patch b/lua-5.3.3.local.patch
index d7bb542a..e4a035d1 100644
--- a/lua-5.3.3.local.patch
+++ b/lua-5.3.3.local.patch
@@ -41,11 +41,11 @@
BASE_O= $(CORE_O) $(LIB_O) $(MYOBJS)
-LUA_T= lua
-+LUA_T= lua$(R)
++LUA_T= lua$(V)
LUA_O= lua.o
-LUAC_T= luac
-+LUAC_T= luac$(R)
++LUAC_T= luac$(V)
LUAC_O= luac.o
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
@@ -81,7 +81,7 @@
$(MAKE) "LUA_A=lua53.dll" "LUA_T=lua.exe" \
"AR=$(CC) -shared -o" "RANLIB=strip --strip-unneeded" \
--- lua-5.3.3/Makefile.orig 2015-05-27 11:10:11.000000000 +0000
-+++ lua-5.3.3/Makefile 2016-06-23 10:45:39.875546404 +0000
++++ lua-5.3.3/Makefile 2016-06-23 10:59:29.519527991 +0000
@@ -36,23 +36,25 @@
# == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
@@ -95,8 +95,8 @@
# What to install.
-TO_BIN= lua luac
-+TO_BIN= lua$(R) luac$(R)
-+TO_BIN_LINKS= lua$(R):lua luac$(R):luac
++TO_BIN= lua$(V) luac$(V)
++TO_BIN_LINKS= lua$(V):lua luac$(V):luac
TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
TO_LIB= liblua.a
+TO_LIBSO= liblua.so liblua.so.$V
@@ -119,7 +119,7 @@
install: dummy
cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
-+ cd src && for FNAME in $(TO_BIN_LINKS); do echo ln -s $${FNAME%:*} $(INSTALL_BIN)/$${FNAME#*:}; done
++ cd src && for FNAME in $(TO_BIN_LINKS); do echo ln -fs $${FNAME%:*} $(INSTALL_BIN)/$${FNAME#*:}; ln -fs $${FNAME%:*} $(INSTALL_BIN)/$${FNAME#*:}; done
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
+ cd src && $(INSTALL_EXEC) $(TO_LIBSO) $(INSTALL_LIB)