vulkan: added build dependencies for systems using non-standard prefixed X11 libs.

To get MacOS to build, some extra dependencies need to be added to a couple of build targets.
This mainly shows up when not installing the dependencies in the default prefix locations.
On MacOS, this happens when using a custom build of brew to install the dependencies to 'odd' locations.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26022>
This commit is contained in:
duncan.hopkins 2023-11-03 09:34:30 +00:00 committed by Marge Bot
parent 47398c65ee
commit 1039da1400
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ libzink = static_library(
link_args : [ld_args_build_id],
dependencies: [
idep_nir_headers, idep_mesautil, idep_vulkan_util_headers,
idep_vulkan_wsi_defines, idep_vulkan_util, dep_libdrm
idep_vulkan_wsi_defines, idep_vulkan_util, dep_libdrm, vulkan_wsi_deps
],
c_args: zink_c_args,
)

View file

@ -52,7 +52,7 @@ if with_gallium_zink and not with_platform_android
libdri_c_args += '-DKOPPER_LIB_NAMES="libEGL and libGLX"'
endif
files_libdri += files('kopper.c')
deps_for_libdri += idep_vulkan_wsi_defines
deps_for_libdri += vulkan_wsi_deps
endif
if with_gallium_softpipe