tools: add polkit agent to sysprof-cli

The goal for this is to be able to not use sudo to authenticate the user
and elevate privileges.
This commit is contained in:
Christian Hergert
2019-05-24 17:31:37 -07:00
parent aca6baa3bd
commit 88bf04cb37
3 changed files with 22 additions and 1 deletions

View File

@ -4,7 +4,7 @@ tools_deps = [
if host_machine.system() == 'linux'
sysprof_cli = executable('sysprof-cli', 'sysprof-cli.c',
dependencies: tools_deps + [libsysprof_dep],
dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
install_dir: get_option('bindir'),
install: true,
)