mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-23 22:35:11 +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:
parent
0244f89d7e
commit
d2cf7213d0
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue