meson: Build miext/sync for Xwayland

When using the Meson build system, miext/sync would be build only for
dri3.

As a result, when building with Meson without DRI3 enabled, Xwayland
would fail to link because `miSyncShmScreenInit()` is nowhere to be
found.

Make sure to build miext/sync for either DRI3 or Xwayland.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
Olivier Fourdan 2019-08-01 13:28:48 +02:00 committed by Adam Jackson
parent c0bbc29ae5
commit e8a85ba818
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ hdrs_miext_sync = [
'misyncstr.h',
]
if build_dri3
if build_dri3 or build_xwayland
srcs_miext_sync += 'misyncshm.c'
endif