meson: link vulkan_util with link_whole on mingw

It was missing for mingw.

Closes #4633

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: James Park <jpark37@lagfreegames.com>
(cherry picked from commit 48d31a6280)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10379>
This commit is contained in:
Michel Zou 2021-04-18 15:44:58 +02:00 committed by Eric Engestrom
parent 62e4fe2300
commit c51a8d1273
2 changed files with 2 additions and 2 deletions

View file

@ -6700,7 +6700,7 @@
"description": "meson: link vulkan_util with link_whole on mingw",
"nominated": false,
"nomination_type": null,
"resolution": 4,
"resolution": 1,
"master_sha": null,
"because_sha": null
},

View file

@ -125,7 +125,7 @@ idep_vulkan_util_headers = declare_dependency(
include_directories : include_directories('.')
)
if with_platform_windows
if cc.get_id() == 'msvc'
idep_vulkan_util = declare_dependency(
link_with : libvulkan_util,
dependencies : idep_vulkan_util_headers