mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-30 03:24:28 +00:00
meson: fix build if shmfence is enabled but dri3 & xwayland are not
glamor_sync.c calls miSyncShmScreenInit if HAVE_XSHMFENCE is defined, but it was only being built if either dri3 or xwayland were enabled. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2070>
This commit is contained in:
@@ -10,7 +10,7 @@ hdrs_miext_sync = [
|
||||
'misyncstr.h',
|
||||
]
|
||||
|
||||
if build_dri3 or build_xwayland
|
||||
if build_dri3 or build_xwayland or xshmfence_dep.found()
|
||||
srcs_miext_sync += 'misyncshm.c'
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user