Reorder liblua searching. Fixes building on systems, which also have lua 5.2 as liblua.so.

This commit is contained in:
Jesse Jaara 2013-01-03 17:14:24 +02:00
parent b0eadcde6c
commit 8ad680d955

View File

@ -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)