diff options
author | David Walter Seikel | 2014-07-31 11:18:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-07-31 11:18:42 +1000 |
commit | e00be227792804092b608c12d00d81289de43d1c (patch) | |
tree | d5c4e20cfa6c8abcb91f77006b455a16f71b5d9d /src/LuaSL | |
parent | TODO++ (diff) | |
download | SledjHamr-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.c | 2 | ||||
-rwxr-xr-x | src/LuaSL/build.lua | 2 |
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 | ||
3 | local dir = ... | 3 | local dir = ... |
4 | 4 | ||