From 8ad680d9558a88534889bca0330f34d0e046d2cc Mon Sep 17 00:00:00 2001 From: Jesse Jaara Date: Thu, 3 Jan 2013 17:14:24 +0200 Subject: [PATCH] Reorder liblua searching. Fixes building on systems, which also have lua 5.2 as liblua.so. --- SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConscript b/SConscript index a435ff981..e10bdf63a 100644 --- a/SConscript +++ b/SConscript @@ -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)