summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2019-08-01 13:28:48 +0200
committerAdam Jackson <ajax@nwnk.net>2019-08-15 17:08:04 +0000
commite8a85ba818a82d8c5acacc53dfc4fdfff573ae90 (patch)
tree1771b7b98919105bbab8bac27a6afaaec3e94ef5 /miext
parentc0bbc29ae59737ea0e55fd9c8b65133010d32b80 (diff)
downloadxserver-e8a85ba818a82d8c5acacc53dfc4fdfff573ae90.tar.gz
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>
Diffstat (limited to 'miext')
-rw-r--r--miext/sync/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/sync/meson.build b/miext/sync/meson.build
index 8b7ee4dba..182a4aef4 100644
--- a/miext/sync/meson.build
+++ b/miext/sync/meson.build
@@ -10,7 +10,7 @@ hdrs_miext_sync = [
'misyncstr.h',
]
-if build_dri3
+if build_dri3 or build_xwayland
srcs_miext_sync += 'misyncshm.c'
endif