mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
build: Add 'auto' to logind-provider combo option
The logind provider defaulted to systemd and in order to use elogind, -Dlogin-provider=elogind was required. This adds 'auto' as a choice for the login-provider option and sets it as default. Using 'auto', the build will check for systemd first and if it's not found, try to find and use elogind automatically.
This commit is contained in:
parent
8707a9b7ec
commit
30308e35fa
3 changed files with 41 additions and 10 deletions
|
|
@ -18,8 +18,8 @@ sources:
|
|||
tasks:
|
||||
- setup: |
|
||||
cd wlroots
|
||||
CC=gcc meson build-gcc -Dauto_features=enabled
|
||||
CC=clang meson build-clang -Dauto_features=enabled
|
||||
CC=gcc meson build-gcc -Dauto_features=enabled -Dlogind-provider=systemd
|
||||
CC=clang meson build-clang -Dauto_features=enabled -Dlogind-provider=systemd
|
||||
- gcc: |
|
||||
cd wlroots/build-gcc
|
||||
ninja
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue