support for LuaJIT

This commit is contained in:
Araq 2013-01-15 01:09:38 +01:00
commit 10d995c290

View file

@ -35,20 +35,33 @@
#** In french or in english #** In french or in english
# #
when defined(MACOSX): when defined(useLuajit):
when defined(MACOSX):
const
NAME* = "libluajit.dylib"
LIB_NAME* = "libluajit.dylib"
elif defined(UNIX):
const
NAME* = "libluajit.so(|.0)"
LIB_NAME* = "libluajit.so(|.0)"
else:
const
NAME* = "luajit.dll"
LIB_NAME* = "luajit.dll"
else:
when defined(MACOSX):
const const
NAME* = "liblua(|5.2|5.1|5.0).dylib" NAME* = "liblua(|5.2|5.1|5.0).dylib"
LIB_NAME* = "liblua(|5.2|5.1|5.0).dylib" LIB_NAME* = "liblua(|5.2|5.1|5.0).dylib"
elif defined(UNIX): elif defined(UNIX):
const const
NAME* = "liblua(|5.2|5.1|5.0).so(|.0)" NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
LIB_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)" LIB_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
else: else:
const const
NAME* = "lua(|5.2|5.1|5.0).dll" NAME* = "lua(|5.2|5.1|5.0).dll"
LIB_NAME* = "lua(|5.2|5.1|5.0).dll" LIB_NAME* = "lua(|5.2|5.1|5.0).dll"
const const
VERSION* = "Lua 5.1" VERSION* = "Lua 5.1"
RELEASE* = "Lua 5.1.1" RELEASE* = "Lua 5.1.1"