mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
Hotfix: fix compiling
Also an attempt to fix my git problems
This commit is contained in:
16
SConscript
16
SConscript
@@ -185,14 +185,14 @@ 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')
|
||||
env.ParseConfig('pkg-config --libs 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.
|
||||
|
||||
|
Reference in New Issue
Block a user