mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 19:34:01 +02:00
feeeeeeeeeeeex
This commit is contained in:
15
SConscript
15
SConscript
@@ -186,14 +186,13 @@ if not GetOption("macosx"):
|
|||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
else:
|
else:
|
||||||
env.Append(CPPPATH=[GetOption("lua-dir")])
|
env.Append(CPPPATH=[GetOption("lua-dir")])
|
||||||
else:
|
try:
|
||||||
try:
|
env.ParseConfig('pkg-config --cflags lua5.1')
|
||||||
env.ParseConfig('pkg-config --cflags lua5.1')
|
except:
|
||||||
except:
|
#Check for Lua lib
|
||||||
#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'):
|
||||||
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"
|
||||||
print "liblua5.1 not found or not installed"
|
raise SystemExit(1)
|
||||||
raise SystemExit(1)
|
|
||||||
|
|
||||||
# if fft is enabled try to parse its config, fail otherwise.
|
# if fft is enabled try to parse its config, fail otherwise.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user