[sysprof] build: disable cli tool when no libsysprof is present
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] build: disable cli tool when no libsysprof is present
- Date: Mon, 3 Jun 2019 19:29:54 +0000 (UTC)
commit ac1d9e4694bc9a17de91a1539e54e5cedda34c3a
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 3 12:29:48 2019 -0700
build: disable cli tool when no libsysprof is present
src/tools/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tools/meson.build b/src/tools/meson.build
index 4c08719..b7f08c1 100644
--- a/src/tools/meson.build
+++ b/src/tools/meson.build
@@ -2,7 +2,7 @@ tools_deps = [
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',
dependencies: tools_deps + [libsysprof_dep, polkit_dep, polkit_agent_dep],
install_dir: get_option('bindir'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]