diff options
author | Simon Ser <contact@emersion.fr> | 2021-09-15 19:01:14 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-09-21 11:35:08 -0600 |
commit | 0c5ff5efabac281065962538ec61431b6ce5c51d (patch) | |
tree | 050690cd539e1c6e5f0e021c6d54af2d39c35a38 /include/xwayland | |
parent | 2e590026e9ea0d556bb9f6b06ca21dfb9244aec8 (diff) |
build: simplify get_variable calls
With recent-ish Meson we can stop repeating the variable name for
each provider.
Diffstat (limited to 'include/xwayland')
-rw-r--r-- | include/xwayland/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xwayland/meson.build b/include/xwayland/meson.build index 0e26ee35..a92234f1 100644 --- a/include/xwayland/meson.build +++ b/include/xwayland/meson.build @@ -1,7 +1,7 @@ have_listenfd = false if xwayland.found() - xwayland_path = xwayland.get_variable(pkgconfig: 'xwayland') - have_listenfd = xwayland.get_variable(pkgconfig: 'have_listenfd') == 'true' + xwayland_path = xwayland.get_variable('xwayland') + have_listenfd = xwayland.get_variable('have_listenfd') == 'true' else xwayland_path = xwayland_prog.full_path() endif |