diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-09-23 19:21:48 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-23 19:21:48 -0500 |
commit | 8105bb9e6bc36ea29bc898b25174403076cd582a (patch) | |
tree | b654f323e0ae9ef4a1e672b5cc027d4206323845 | |
parent | 1733d4192979133cad82bd6dbbc3cbcdc50ed6d3 (diff) | |
download | lua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.tar.gz lua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.tar.bz2 lua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.zip |
Compile with popen
-rwxr-xr-x | init | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,9 +4,8 @@ luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") | |||
4 | mkdir "$luaver" | 4 | mkdir "$luaver" |
5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 | 5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 |
6 | cd "$luaver" | 6 | cd "$luaver" |
7 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" | 7 | make mingw "CFLAGS= -D_WIN32 -Wall -Wextra -std=c99 -pedantic $CFLAGS" |
8 | cd "/root/" | 8 | cd "/root/" |
9 | cp $luaver/src/*.exe . | 9 | cp $luaver/src/*.exe . |
10 | cp $luaver/src/*.dll . | 10 | cp $luaver/src/*.dll . |
11 | cp $luaver/src/*.a . | 11 | cp $luaver/src/*.a . |
12 | exit -1 | ||