Prefer LUAjit instead of interpreter
This commit is contained in:
parent
a2c9b5b6d1
commit
bd3f069f47
@ -145,6 +145,8 @@ else:
|
|||||||
print "zip library not found. Exiting"
|
print "zip library not found. Exiting"
|
||||||
Exit(-1)
|
Exit(-1)
|
||||||
|
|
||||||
|
if not conf.CheckLibWithHeader('luajit-5.1', 'luajit-2.0/lua.h', 'CXX'):
|
||||||
|
print "luajit library not found. Checking for interpreter"
|
||||||
env.ParseConfig('pkg-config --cflags --libs lua5.1')
|
env.ParseConfig('pkg-config --cflags --libs lua5.1')
|
||||||
env.ParseConfig('pkg-config --cflags --libs luabind')
|
env.ParseConfig('pkg-config --cflags --libs luabind')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user