From 8105bb9e6bc36ea29bc898b25174403076cd582a Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Mon, 23 Sep 2024 19:21:48 -0500 Subject: Compile with popen --- init | 3 +-- 1 file changed, 1 insertion(+), 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-.\\..") mkdir "$luaver" tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 cd "$luaver" -make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" +make mingw "CFLAGS= -D_WIN32 -Wall -Wextra -std=c99 -pedantic $CFLAGS" cd "/root/" cp $luaver/src/*.exe . cp $luaver/src/*.dll . cp $luaver/src/*.a . -exit -1 -- cgit v1.2.3-55-g6feb