From d2cf7213d0287f9777fac583f6889ee18b188f8d Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Mon, 13 Dec 2021 23:44:58 +0000 Subject: [PATCH] Fix detection of Windows in build script. Thanks go to Noelle Leigh for the initial report and much help during diagnosis! --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index bea213e..a77af5d 100755 --- a/build.sh +++ b/build.sh @@ -29,7 +29,7 @@ mkdir -p bin CC="${CC:-cc}" CFLAGS="${CFLAGS:--std=c89 -Wall -Wno-unknown-pragmas}" 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)" ;; Darwin) # macOS