From e00be227792804092b608c12d00d81289de43d1c Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 31 Jul 2014 11:18:42 +1000 Subject: Move entirely over to luajit. --- src/LuaSL/LuaSL_compile.c | 2 +- src/LuaSL/build.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/LuaSL') 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) } // Compile the constants. - snprintf(buf, sizeof(buf), "lua -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", prefix_lib_get()); + snprintf(buf, sizeof(buf), "luajit -e 'require(\"LSL\").gimmeLSL()' > %s/constants.lsl", prefix_lib_get()); system(buf); snprintf(buf, sizeof(buf), "%s/constants.lsl", prefix_lib_get()); 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 @@ -#!/usr/bin/env lua +#!/usr/bin/env luajit local dir = ... -- cgit v1.1