summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-09-23 19:21:48 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-09-23 19:21:48 -0500
commit8105bb9e6bc36ea29bc898b25174403076cd582a (patch)
treeb654f323e0ae9ef4a1e672b5cc027d4206323845
parent1733d4192979133cad82bd6dbbc3cbcdc50ed6d3 (diff)
downloadlua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.tar.gz
lua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.tar.bz2
lua-packaging-8105bb9e6bc36ea29bc898b25174403076cd582a.zip
Compile with popen
-rwxr-xr-xinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/init b/init
index 66ea36c..9d3099a 100755
--- a/init
+++ b/init
@@ -4,9 +4,8 @@ luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..")
4mkdir "$luaver" 4mkdir "$luaver"
5tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 5tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
6cd "$luaver" 6cd "$luaver"
7make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" 7make mingw "CFLAGS= -D_WIN32 -Wall -Wextra -std=c99 -pedantic $CFLAGS"
8cd "/root/" 8cd "/root/"
9cp $luaver/src/*.exe . 9cp $luaver/src/*.exe .
10cp $luaver/src/*.dll . 10cp $luaver/src/*.dll .
11cp $luaver/src/*.a . 11cp $luaver/src/*.a .
12exit -1