summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorVlad Zahorodnii <vlad.zahorodnii@kde.org>2021-02-09 10:43:22 +0200
committerSimon Ser <contact@emersion.fr>2021-03-04 09:35:55 +0000
commit022ea43f9b66058ce4d96d1bc3aedac65dc0b380 (patch)
treebffe49c00dc952adabbf90b5551ac36aa3e9bd8d /xwayland
parente62ccf179afa98bb29cc35d8c83aea1c37f41409 (diff)
downloadweston-022ea43f9b66058ce4d96d1bc3aedac65dc0b380.tar.gz
xwayland: Pass -listenfd instead of -listen <fd>
The -listen <fd> option has been deprecated. Its replacement is -listenfd. Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/xwayland/meson.build b/xwayland/meson.build
index 896d6314..d8482a46 100644
--- a/xwayland/meson.build
+++ b/xwayland/meson.build
@@ -2,6 +2,13 @@ if not get_option('xwayland')
subdir_done()
endif
+xwayland_dep = dependency('xwayland', required: false)
+if xwayland_dep.found()
+ if xwayland_dep.get_pkgconfig_variable('have_listenfd') == 'true'
+ config_h.set('HAVE_XWAYLAND_LISTENFD', '1')
+ endif
+endif
+
srcs_xwayland = [
'launcher.c',
'window-manager.c',