mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
build: disable cli tool when no libsysprof is present
This commit is contained in:
@ -2,7 +2,7 @@ tools_deps = [
|
|||||||
libsysprof_capture_dep,
|
libsysprof_capture_dep,
|
||||||
]
|
]
|
||||||
|
|
||||||
if host_machine.system() == 'linux'
|
if get_option('libsysprof') and host_machine.system() == 'linux'
|
||||||
sysprof_cli = executable('sysprof-cli', 'sysprof-cli.c',
|
sysprof_cli = executable('sysprof-cli', 'sysprof-cli.c',
|
||||||
dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
|
dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
|
||||||
install_dir: get_option('bindir'),
|
install_dir: get_option('bindir'),
|
||||||
|
|||||||
Reference in New Issue
Block a user