Skip to content

meson: Fix missing xcb-xrandr dependency for Vulkan X11 WSI

Philipp Zabel requested to merge pH5/mesa:vulkan-x11-no-xlib-lease into master

Fixes a build failure when building any Vulkan driver for the X11 platform with -Dxlib-lease=disabled. For example:

/usr/bin/ld: src/vulkan/wsi/libvulkan_wsi.a(wsi_common_x11.c.o): in function wsi_x11_detect_xwayland': src/vulkan/wsi/wsi_common_x11.c:123: undefined reference to xcb_randr_query_version_unchecked'

Merge request reports