forked from github/server
consider newer lua versions
This commit is contained in:
parent
2f3cf7107a
commit
1d50bd19d2
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
sudo: false
|
sudo: false
|
||||||
language: c
|
language: c
|
||||||
|
dist: bionic
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
|
|
@ -82,6 +82,10 @@ LUA_INCLUDE=/usr/include
|
||||||
LUA_DIR=/usr
|
LUA_DIR=/usr
|
||||||
if [ -d /usr/local/include/lua ]; then
|
if [ -d /usr/local/include/lua ]; then
|
||||||
LUA_INCLUDE=/usr/local/include/lua
|
LUA_INCLUDE=/usr/local/include/lua
|
||||||
|
elif [ -d /usr/include/lua5.4 ]; then
|
||||||
|
LUA_INCLUDE=/usr/include/lua5.4
|
||||||
|
elif [ -d /usr/include/lua5.3 ]; then
|
||||||
|
LUA_INCLUDE=/usr/include/lua5.3
|
||||||
elif [ -d /usr/include/lua5.2 ]; then
|
elif [ -d /usr/include/lua5.2 ]; then
|
||||||
LUA_INCLUDE=/usr/include/lua5.2
|
LUA_INCLUDE=/usr/include/lua5.2
|
||||||
elif [ -d /usr/include/lua5.1 ]; then
|
elif [ -d /usr/include/lua5.1 ]; then
|
||||||
|
|
2
tolua
2
tolua
|
@ -1 +1 @@
|
||||||
Subproject commit e054dd7b9280300828343e7007d083ab30b6531e
|
Subproject commit 8a658c00574f2e4889f2631be167b597b6f087e7
|
Loading…
Reference in a new issue