From 740ec147cdf3228ac6d4c33fbe421c581bf0559f Mon Sep 17 00:00:00 2001 From: mniip Date: Mon, 9 Dec 2013 04:51:15 +0400 Subject: [PATCH] feeeeeeeeeeeex --- SConscript | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/SConscript b/SConscript index 536174f69..9c236bd55 100755 --- a/SConscript +++ b/SConscript @@ -186,14 +186,13 @@ if not GetOption("macosx"): raise SystemExit(1) else: env.Append(CPPPATH=[GetOption("lua-dir")]) - else: - try: - env.ParseConfig('pkg-config --cflags lua5.1') - except: - #Check for Lua lib - if not conf.CheckLib('lua5.1') and not conf.CheckLib('lua-5.1') and not conf.CheckLib('lua51') and not conf.CheckLib('lua'): - print "liblua5.1 not found or not installed" - raise SystemExit(1) + try: + env.ParseConfig('pkg-config --cflags lua5.1') + except: + #Check for Lua lib + if not conf.CheckLib('lua5.1') and not conf.CheckLib('lua-5.1') and not conf.CheckLib('lua51') and not conf.CheckLib('lua'): + print "liblua5.1 not found or not installed" + raise SystemExit(1) # if fft is enabled try to parse its config, fail otherwise.