From 459af3acab2ef82ecd12356484df42afdd59f9ee Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sat, 4 Jul 2020 11:40:21 -0700 Subject: build: bump to sysprof 4 ABI Sysprof has moved to a new ABI which removes GLib from the capture library so that GLib itself can link against sysprof-capture. This bumps the library ABI so we can keep things coordinated between all the new tracing layers in the stack. --- meson.build | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 3ab900eb06..71d7fd399f 100644 --- a/meson.build +++ b/meson.build @@ -687,7 +687,20 @@ endif profiler_enabled = get_option('profiler') if profiler_enabled - profiler_dep = dependency('sysprof-capture-3', static: true, required: true) + # libsysprof-capture support + profiler_dep = dependency('sysprof-capture-4', + required: true, + default_options: [ + 'enable_examples=false', + 'enable_gtk=false', + 'enable_tests=false', + 'enable_tools=false', + 'libsysprof=false', + 'with_sysprofd=none', + 'help=false', + ], + fallback: ['sysprof', 'libsysprof_capture_dep'], + ) if profiler_dep.found() cdata.set('HAVE_SYSPROF_CAPTURE', profiler_dep.found()) else -- cgit v1.2.1