mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01:00
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>
28 lines
520 B
Meson
28 lines
520 B
Meson
srcs_miext_sync = [
|
|
'misync.c',
|
|
'misyncfd.c',
|
|
]
|
|
|
|
hdrs_miext_sync = [
|
|
'misync.h',
|
|
'misyncfd.h',
|
|
'misyncshm.h',
|
|
'misyncstr.h',
|
|
]
|
|
|
|
if build_dri3 or build_xwayland or xshmfence_dep.found()
|
|
srcs_miext_sync += 'misyncshm.c'
|
|
endif
|
|
|
|
libxserver_miext_sync = static_library('libxserver_miext_sync',
|
|
srcs_miext_sync,
|
|
include_directories: inc,
|
|
dependencies: [
|
|
common_dep,
|
|
xshmfence_dep,
|
|
],
|
|
)
|
|
|
|
if build_xorg
|
|
install_data(hdrs_miext_sync, install_dir: xorgsdkdir)
|
|
endif
|