0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-23 14:25:10 +00:00

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

View file

@ -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