libsysprof, libsysprof-ui: Generate pkg-config dependencies

Otherwise, using libsysprof-ui will usually fail because <dazzle.h>
is not added to the search path.

Resolves: https://gitlab.gnome.org/GNOME/sysprof/-/issues/49
Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie
2020-09-15 20:03:19 +01:00
parent 68c50ba869
commit 04b6fdfcbe
3 changed files with 32 additions and 6 deletions

View File

@ -72,5 +72,6 @@ if not meson.is_subproject()
description: 'The static capture library for tools that generate profiling capture data',
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
variables: [ 'datadir=' + datadir_for_pc_file ],
requires_private: libsysprof_capture_deps,
)
endif