build: Xwayland with GLAMOR requires libxshmfence
Without libxshmfence, Xwayland cannot build with GLAMOR support. Make sure to catch that requirement in meson rather than failing the build later. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1626 Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1253>
This commit is contained in:
parent
2ebde20eef
commit
a692ded3d9
|
@ -226,6 +226,7 @@ if (host_machine.system() != 'darwin' and
|
||||||
]
|
]
|
||||||
|
|
||||||
if build_glamor
|
if build_glamor
|
||||||
|
xwayland_dep += dependency('xshmfence', version: xshmfence_req, required: xwayland_required)
|
||||||
xwayland_dep += dependency('libdrm', version: libdrm_req, required: xwayland_required)
|
xwayland_dep += dependency('libdrm', version: libdrm_req, required: xwayland_required)
|
||||||
xwayland_dep += dependency('epoxy', required: xwayland_required)
|
xwayland_dep += dependency('epoxy', required: xwayland_required)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue