aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-07-31 11:18:42 +1000
committerDavid Walter Seikel2014-07-31 11:18:42 +1000
commite00be227792804092b608c12d00d81289de43d1c (patch)
treed5c4e20cfa6c8abcb91f77006b455a16f71b5d9d /src/LuaSL
parentTODO++ (diff)
downloadSledjHamr-e00be227792804092b608c12d00d81289de43d1c.zip
SledjHamr-e00be227792804092b608c12d00d81289de43d1c.tar.gz
SledjHamr-e00be227792804092b608c12d00d81289de43d1c.tar.bz2
SledjHamr-e00be227792804092b608c12d00d81289de43d1c.tar.xz
Move entirely over to luajit.
Diffstat (limited to 'src/LuaSL')
-rw-r--r--src/LuaSL/LuaSL_compile.c2
-rwxr-xr-xsrc/LuaSL/build.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c
index 5adeabe..5d244fa 100644
--- a/src/LuaSL/LuaSL_compile.c
+++ b/src/LuaSL/LuaSL_compile.c
@@ -2202,7 +2202,7 @@ boolean compilerSetup(gameGlobals *ourGlobals)
2202 } 2202 }
2203 2203
2204 // Compile the constants. 2204 // Compile the constants.
2205 snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", prefix_lib_get()); 2205 snprintf(buf, sizeof(buf), "luajit -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", prefix_lib_get());
2206 system(buf); 2206 system(buf);
2207 snprintf(buf, sizeof(buf), "%s/constants.lsl", prefix_lib_get()); 2207 snprintf(buf, sizeof(buf), "%s/constants.lsl", prefix_lib_get());
2208 compiler->file = strdup(buf); 2208 compiler->file = strdup(buf);
diff --git a/src/LuaSL/build.lua b/src/LuaSL/build.lua
index 0bd376c..847fba7 100755
--- a/src/LuaSL/build.lua
+++ b/src/LuaSL/build.lua
@@ -1,4 +1,4 @@
1#!/usr/bin/env lua 1#!/usr/bin/env luajit
2 2
3local dir = ... 3local dir = ...
4 4