staticRuntime property
Whether to statically link the GNU C++ runtime into the output library for MSYS2 toolchains (WindowsCompiler.msys2Clang / WindowsCompiler.msys2Gcc).
Defaults to true: -static-libgcc -static-libstdc++ plus static
winpthread are passed to the compiler/linker, producing a self-contained
DLL that only depends on the system UCRT — no MSYS2 runtime DLLs
(libgcc_s_seh-1.dll / libstdc++-6.dll / libwinpthread-1.dll) are
needed at runtime, so no PATH setup is required.
Set to false to link the MSYS2 runtime dynamically; the DLL then needs
those runtime DLLs at load time (keep <msys2>\ucrt64\bin on PATH or
bundle them next to the output — see bundleCrt).
Implementation
final bool staticRuntime;