meson: replace vk_wsi_args with dependencies to let meson take care of transitivity

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19497>
This commit is contained in:
Eric Engestrom
2022-11-03 10:13:16 +00:00
committed by Marge Bot
parent f059213f5d
commit fbd644c59d
19 changed files with 23 additions and 24 deletions
+1 -3
View File
@@ -95,6 +95,7 @@ if with_dri2
)
files_egl += sha1_h
deps_for_egl += idep_xmlconfig
deps_for_egl += idep_vulkan_wsi_defines
link_for_egl += libloader
incs_for_egl += inc_loader
incs_for_egl += inc_gallium
@@ -107,9 +108,6 @@ if with_dri2
'drivers/dri2/platform_surfaceless.c',
)
c_args_for_egl += vk_wsi_args
cpp_args_for_egl += vk_wsi_args
if with_platform_x11
files_egl += files('drivers/dri2/platform_x11.c')
if with_dri3