Reorder liblua searching. Fixes building on systems, which also have lua 5.2 as liblua.so.
This commit is contained in:
parent
b0eadcde6c
commit
8ad680d955
@ -116,7 +116,7 @@ if not GetOption("macosx"):
|
||||
|
||||
#Check for Lua lib
|
||||
if not GetOption("macosx"):
|
||||
if not conf.CheckLib('lua') and not conf.CheckLib('lua5.1') and not conf.CheckLib('lua51') and not conf.CheckLib('lua-5.1'):
|
||||
if not conf.CheckLib('lua5.1') and not conf.CheckLib('lua-5.1') and not conf.CheckLib('lua51') and not conf.CheckLib('lua'):
|
||||
print "liblua not found or not installed"
|
||||
raise SystemExit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user