fix: support MSYS2 builds on gmake
uname -s under MSYS2 never reports Windows_NT, so gmake.mk's Windows_NT checks could silently fall through to the Linux path. Detect MINGW/MSYS/UCRT/CLANG/CYGWIN uname prefixes in build.sh and gmake.mk, separating "building for Windows" (binary names, libs) from "running under cmd.exe" (mkdir/rd vs mkdir -p/rm -rf) — MSYS2 keeps the posix shell builtins even when targeting Windows. Mirrors the same fix already applied to stk.
This commit is contained in:
1 parent
26d08228a7
commit
e143adca2b
2 files changed
+27
-8