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:
parent
c0bbc29ae5
commit
e8a85ba818
|
@ -10,7 +10,7 @@ hdrs_miext_sync = [
|
|||
'misyncstr.h',
|
||||
]
|
||||
|
||||
if build_dri3
|
||||
if build_dri3 or build_xwayland
|
||||
srcs_miext_sync += 'misyncshm.c'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue