Make sure to target XP
This commit is contained in:
parent
e52e213e84
commit
d24bd5c9f6
2
compile
2
compile
@ -31,7 +31,7 @@ if [ "$target_os" = "windows" ]; then
|
|||||||
SDLPATH="${SDLPATH:=SDL2}" # https://github.com/libsdl-org/SDL/releases
|
SDLPATH="${SDLPATH:=SDL2}" # https://github.com/libsdl-org/SDL/releases
|
||||||
LUAPATH="${LUAPATH:=lua5.3/src}" # https://www.lua.org/ftp/lua-5.3.6.tar.gz
|
LUAPATH="${LUAPATH:=lua5.3/src}" # https://www.lua.org/ftp/lua-5.3.6.tar.gz
|
||||||
"$PYTHON" lua_translate
|
"$PYTHON" lua_translate
|
||||||
"$CC" -std=gnu89 src/main.c -g -L"$MINGWPATH\\lib" -w -Wl,-subsystem,windows -lmingw32 -L"$LUAPATH" -I"$LUAPATH" -I"$SDLPATH/include" -L"$SDLPATH/lib" -lSDL2main -lSDL2 -llua53 -lm -o engine.exe -O3 -Werror -Wall $CFLAGS
|
"$CC" -D_WIN32_WINNT=0x0501 -std=gnu89 src/main.c -g -L"$MINGWPATH\\lib" -w -Wl,-subsystem,windows -lmingw32 -L"$LUAPATH" -I"$LUAPATH" -I"$SDLPATH/include" -L"$SDLPATH/lib" -lSDL2main -lSDL2 -llua53 -lm -o engine.exe -O3 -Werror -Wall $CFLAGS
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user