diff options
author | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2021-02-09 10:43:22 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-03-04 09:35:55 +0000 |
commit | 022ea43f9b66058ce4d96d1bc3aedac65dc0b380 (patch) | |
tree | bffe49c00dc952adabbf90b5551ac36aa3e9bd8d /xwayland | |
parent | e62ccf179afa98bb29cc35d8c83aea1c37f41409 (diff) | |
download | weston-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.build | 7 |
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', |