Travis: use Lua 5.3.3, from GitHub mirror (#1208)
This commit is contained in:
parent
8409639d4d
commit
cf96296f27
|
@ -49,9 +49,9 @@ install:
|
||||||
- |
|
- |
|
||||||
set -ev
|
set -ev
|
||||||
if [[ "$LUA" == "5.3" ]]; then
|
if [[ "$LUA" == "5.3" ]]; then
|
||||||
wget http://www.lua.org/ftp/lua-5.3.2.tar.gz -O lua.tar.gz
|
wget https://github.com/lua/lua/releases/download/5.3.3/lua-5.3.3.tar.gz -O lua.tar.gz
|
||||||
tar -xvzf lua.tar.gz
|
tar -xvzf lua.tar.gz
|
||||||
(cd lua-5.3.2/src \
|
(cd lua-5.3.3/src \
|
||||||
&& make SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2 -DLUA_USE_APICHECK" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so \
|
&& make SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2 -DLUA_USE_APICHECK" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} TO_LIB=liblua.so linux install)
|
&& sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} TO_LIB=liblua.so linux install)
|
||||||
|
|
Loading…
Reference in New Issue