Skip to content

meson/vulkan: fix linkage on windows when using not gcc or msvc

Dylan Baker requested to merge dbaker/mesa:submit/fix-vulkan-linkage into master

There are lots of other windows compilers that are now being treated like gcc, which is wrong. Notably Intel-cl and clang-cl, both of which behave like msvc are now being treated like mingw. Using the get_argument_syntax() method should catch the common compilers like clang-cl and icl.

Fixes: 48d31a62 ("meson: link vulkan_util with link_whole on mingw")

Merge request reports