mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
polkit: try harder to make polkit optional on non-Linux
We want the viewer to be usable on Mac/Windows/FreeBSD, even if our profiler tooling isn't (yet). Another option could be to do a simplified viewer window for those platforms, but I think that is more work to maintain than abstracting some of the stuff better in libsysprof.
This commit is contained in:
@ -3,6 +3,7 @@ tools_deps = [
|
||||
]
|
||||
|
||||
if get_option('libsysprof') and host_machine.system() == 'linux'
|
||||
polkit_agent_dep = dependency('polkit-agent-1')
|
||||
sysprof_cli = executable('sysprof-cli', 'sysprof-cli.c',
|
||||
dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
|
||||
install_dir: get_option('bindir'),
|
||||
|
||||
Reference in New Issue
Block a user