add alternate luajit name (my own custom name), update readme date

This commit is contained in:
jacob1 2017-09-04 22:14:47 -04:00
parent 6bd068713e
commit 873c2230dc
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
The Powder Toy - July 2017
The Powder Toy - September 2017
==========================
Get the latest version here: http://powdertoy.co.uk/Download.html

View File

@ -269,7 +269,7 @@ def findLibs(env, conf):
#Look for Lua
luaver = "lua5.1"
if GetOption('luajit'):
if not conf.CheckLib(['luajit-5.1', 'luajit5.1', 'luajit', 'libluajit']):
if not conf.CheckLib(['luajit-5.1', 'luajit5.1', 'luajit2.0', 'luajit', 'libluajit']):
FatalError("luajit development library not found or not installed")
env.Append(CPPDEFINES=["LUAJIT"])
luaver = "luajit"