build_engine.sh: Check for different Win32 and Win64 Cygwin profiles

This commit is contained in:
Marco Cawthorne 2021-01-16 22:15:14 +01:00
parent c61874d3a7
commit 6c80598fbe
1 changed files with 4 additions and 1 deletions

View File

@ -26,9 +26,12 @@ if [ "$BUILD_SDL2" -eq 1 ]; then
PLATFORM=SDL2
OUTPUT=$OUTPUT/fteqw64-sdl2
else
if [[ "$COMPILE_SYS" == "Cygwin" ]]; then
if [[ "$COMPILE_SYS" == "CYGWIN_NT-10.0" ]] || [[ "$COMPILE_SYS" == "CYGWIN_NT-6.1-WOW64" ]]; then
PLATFORM=win64
OUTPUT=$OUTPUT/fteglqw64.exe
elif [[ "$COMPILE_SYS" == "CYGWIN_NT-6.1" ]] || [[ "$COMPILE_SYS" == "CYGWIN_NT-5.1" ]]; then
PLATFORM=win32
OUTPUT=$OUTPUT/fteglqw32.exe
elif [[ "$COMPILE_SYS" == "OpenBSD" ]]; then
PLATFORM=bsd
OUTPUT=$OUTPUT/fteqw-gl