diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-12 12:10:23 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-12 12:10:23 -0500 |
| commit | 74ce1948ccd6ee5fca878cfdaa22c611b83f1ae2 (patch) | |
| tree | 46f2e2c1b2490c70faba86190b10a18a4c5af57c | |
| parent | bf001243b759725f5e71ac5a18cad8595162af67 (diff) | |
| download | luajit-packaging-74ce1948ccd6ee5fca878cfdaa22c611b83f1ae2.tar.gz luajit-packaging-74ce1948ccd6ee5fca878cfdaa22c611b83f1ae2.tar.bz2 luajit-packaging-74ce1948ccd6ee5fca878cfdaa22c611b83f1ae2.zip | |
Adjust the make for luajit
| -rwxr-xr-x | init | 11 |
1 files changed, 4 insertions, 7 deletions
| @@ -1,12 +1,9 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") | 3 | cd "luajit" |
| 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" | 4 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" |
| 8 | cd "/root/" | 5 | cd "/root/" |
| 9 | cp $luaver/src/*.exe . | 6 | cp luajit/src/*.exe . |
| 10 | cp $luaver/src/*.dll . | 7 | cp luajit/src/*.dll . |
| 11 | cp $luaver/src/*.a . | 8 | cp luajit/src/*.a . |
| 12 | 9 | ||
