0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-27 16:23:02 +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}" 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