Skip to content

Draft: Fix Mesa3D build with static CRT in MSYS2 related to regex

Closes: #4665

Fixes: 5a2b9300 ("meson/xmlconfig: win32 regex fallback")

External ref: https://github.com/msys2/MINGW-packages/issues/11916

Testing this requires Meson 0.63 or newer otherwise you have to get your hands dirty with binary wraps to conpensate for '--prefer-static` being unavailable. Test this by adding '--prefer-static -Dc_link_args="-static" -Dcpp_link_args="-static"' to Meson setup command.

/cc @xantares @lygstate @dbaker

Edited by Prodea Alexandru-Liviu

Merge request reports