mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
build: simplify get_variable calls
With recent-ish Meson we can stop repeating the variable name for each provider.
This commit is contained in:
parent
2e590026e9
commit
0c5ff5efab
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue