Fix detection of Windows in build script.

Thanks go to Noelle Leigh <noelle_leigh@fastmail.com> for the initial
report and much help during diagnosis!
This commit is contained in:
Andrew Alderwick 2021-12-13 23:44:58 +00:00
parent 0244f89d7e
commit d2cf7213d0
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ mkdir -p bin
CC="${CC:-cc}" CC="${CC:-cc}"
CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}" CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}"
case "$(uname -s 2>/dev/null)" in case "$(uname -s 2>/dev/null)" in
MSYS_NT*) # MSYS2 on Windows MSYS_NT*|MINGW*) # MSYS2 on Windows
UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)" UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
;; ;;
Darwin) # macOS Darwin) # macOS