diff options
author | Determinant <[email protected]> | 2015-06-22 19:01:29 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-22 19:01:29 +0800 |
commit | 2497fd9e7a0fae5ee4887890d7a312e0e08a93b8 (patch) | |
tree | 382f97575bd2df9ee6abb1662b11b279fc22d72b /tools/build_luajit.sh | |
parent | 196e9b48a3541caccdffc5743001cced70667091 (diff) |
major change: use luarocks to manage project
Diffstat (limited to 'tools/build_luajit.sh')
-rwxr-xr-x | tools/build_luajit.sh | 4 |
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) |