aboutsummaryrefslogtreecommitdiff
path: root/tools/build_luajit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_luajit.sh')
-rwxr-xr-xtools/build_luajit.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build_luajit.sh b/tools/build_luajit.sh
new file mode 100755
index 0000000..7a66412
--- /dev/null
+++ b/tools/build_luajit.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+LUAJIT_PREFIX="$PREFIX"
+LUAJIT_SRC='luajit-2.0/'
+[[ -f "$LUAJIT_PREFIX/bin/luajit" ]] || (cd "$LUAJIT_SRC"; make && make PREFIX="$LUAJIT_PREFIX" install)