build: fix logind feature summary when auto-detected
If -Dlogind=auto but systemd/elogind isn't available, logind_provider would get set to the last item of the foreach loop. This would incorrectly report "systemd: YES".
This commit is contained in:
parent
385cc0039d
commit
392da918e6
1 changed files with 2 additions and 2 deletions
|
@ -239,6 +239,6 @@ endif
|
|||
summary({
|
||||
'seatd': get_option('seatd').enabled(),
|
||||
'builtin': get_option('builtin').enabled(),
|
||||
'systemd': logind_provider == 'systemd',
|
||||
'elogind': logind_provider == 'elogind',
|
||||
'systemd': logind.found() and logind_provider == 'systemd',
|
||||
'elogind': logind.found() and logind_provider == 'elogind',
|
||||
}, bool_yn: true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue