Browse code

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!

Andrew Alderwick authored on 13/12/2021 23:44:58
Showing 1 changed files
... ...
@@ -29,7 +29,7 @@ mkdir -p bin
29 29
 CC="${CC:-cc}"
30 30
 CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}"
31 31
 case "$(uname -s 2>/dev/null)" in
32
-MSYS_NT*) # MSYS2 on Windows
32
+MSYS_NT*|MINGW*) # MSYS2 on Windows
33 33
 	UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
34 34
 	;;
35 35
 Darwin) # macOS