mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 07:50:17 +01:00
meson/build: avoid using ternary as it breaks older meson
See mesonbuild issue 5003.
Oddly, this isn't inside a method call, while we use ternaries
inside a method calls otherwise. Anyway, workaround this and
avoid the crash.
Fixes: c21c6bc0be ('build/meson: allow configuring default for main.auth-polkit setting')
This commit is contained in:
parent
f5b0713651
commit
0e3400bef7
1 changed files with 7 additions and 1 deletions
|
|
@ -940,7 +940,13 @@ output += ' session tracking: ' + ','.join(session_trackers) + '\n'
|
|||
output += ' suspend/resume: ' + suspend_resume + '\n'
|
||||
output += ' policykit: ' + enable_polkit.to_string() + ' (default: ' + config_auth_polkit_default + ')'
|
||||
if enable_polkit
|
||||
output += ' (' + (enable_modify_system ? 'permissive' : 'restrictive') + ' modify.system)'
|
||||
output += ' ('
|
||||
if enable_modify_system
|
||||
output += 'permissive'
|
||||
else
|
||||
output += 'restrictive'
|
||||
endif
|
||||
output += ' modify.system)'
|
||||
endif
|
||||
output += '\n'
|
||||
output += ' polkit agent: ' + enable_polkit_agent.to_string() + '\n'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue