diff options
author | Duncan Hopkins <duncan@duncanhopkins.me.uk> | 2020-10-15 12:14:57 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-10-19 17:24:25 +0000 |
commit | cf17d6251653f4a98e7c4f904ea2f0bc0ecedd5c (patch) | |
tree | df0878b857a652733a1b775ec91c5e0b3d8746de | |
parent | 25627ffe656339da9477d47039d3ad561dd70fd3 (diff) | |
download | external_mesa3d-cf17d6251653f4a98e7c4f904ea2f0bc0ecedd5c.tar.gz external_mesa3d-cf17d6251653f4a98e7c4f904ea2f0bc0ecedd5c.tar.bz2 external_mesa3d-cf17d6251653f4a98e7c4f904ea2f0bc0ecedd5c.zip |
meson: Add xcb-fixes to loader when using x11 and dri3. Fixes undefined symbol for xcb_xfixes_create_region in loader_dri3_helper.c
loader_dr3_helper.c uses xcb_xfixes_create_region() that requires dep_xcb_xfixes to link. This is dependent on with_platform_x11 and with_dri3.
But the source meson file does not set this up dependent on with_dri3.
The build was initialsed using platforms=x11 and gallium-drivers=zink,swrast.
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7164>
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index cfe02fa6373..3cb3c904927 100644 --- a/meson.build +++ b/meson.build @@ -1782,7 +1782,8 @@ if with_platform_x11 dep_xxf86vm = dependency('xxf86vm') endif endif - if (with_egl or ( + if (with_egl or + with_dri3 or ( with_gallium_vdpau or with_gallium_xvmc or with_gallium_xa or with_gallium_omx != 'disabled')) dep_xcb_xfixes = dependency('xcb-xfixes') |