mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01: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:
parent
c62cd2feaa
commit
a8f8ec7e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ hdrs_miext_sync = [
|
||||||
'misyncstr.h',
|
'misyncstr.h',
|
||||||
]
|
]
|
||||||
|
|
||||||
if build_dri3 or build_xwayland
|
if build_dri3 or build_xwayland or xshmfence_dep.found()
|
||||||
srcs_miext_sync += 'misyncshm.c'
|
srcs_miext_sync += 'misyncshm.c'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue