diff options
Diffstat (limited to 'build_luajit.sh')
-rwxr-xr-x | build_luajit.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_luajit.sh b/build_luajit.sh new file mode 100755 index 0000000..bb23b5f --- /dev/null +++ b/build_luajit.sh @@ -0,0 +1,5 @@ +#!/bin/bash +PREFIX="${PWD}/build" +LUAJIT_SRC='luajit-2.0/' +LUAJIT_PREFIX="${PREFIX}/luajit-2.0" +[[ -d $LUAJIT_PREFIX ]] || (cd "$LUAJIT_SRC"; make && make PREFIX="$LUAJIT_PREFIX" install) |