diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-12 11:59:35 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-12 11:59:35 -0500 |
| commit | bf001243b759725f5e71ac5a18cad8595162af67 (patch) | |
| tree | d22bedbf68d97ef59f32346199286f6b1158bd07 /init | |
| parent | 81717917516e7e3832dfb160be9d52827a025888 (diff) | |
| download | luajit-packaging-bf001243b759725f5e71ac5a18cad8595162af67.tar.gz luajit-packaging-bf001243b759725f5e71ac5a18cad8595162af67.tar.bz2 luajit-packaging-bf001243b759725f5e71ac5a18cad8595162af67.zip | |
Start building luajit
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -1 +1,12 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | |||
| 3 | luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") | ||
| 4 | mkdir "$luaver" | ||
| 5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 | ||
| 6 | cd "$luaver" | ||
| 7 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" | ||
| 8 | cd "/root/" | ||
| 9 | cp $luaver/src/*.exe . | ||
| 10 | cp $luaver/src/*.dll . | ||
| 11 | cp $luaver/src/*.a . | ||
| 12 | |||
