From 3a9f9e350997a9c65f85a389d5ee055692b74daa Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 31 May 2019 21:19:55 +0100 Subject: [PATCH] build: Add various installed utilities to gio-2.0.pc The most useful ones were already listed in the pkg-config file, but some others (notably, `gio-querymodules`) were not. List them in the pkg-config file with their installed paths so that the right binary is used if GIO is installed in a non-default path. Signed-off-by: Philip Withnall Fixes: #1796 --- gio/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gio/meson.build b/gio/meson.build index f0e08b40f..8f897d5fa 100644 --- a/gio/meson.build +++ b/gio/meson.build @@ -829,9 +829,14 @@ pkg.generate(libgio, 'schemasdir=' + join_paths('${datadir}', schemas_subdir), 'bindir=' + join_paths('${prefix}', get_option('bindir')), 'giomoduledir=' + giomodulesdir, + 'gio=' + join_paths('${bindir}', 'gio'), + 'gio_querymodules=' + join_paths('${bindir}', 'gio-querymodules'), 'glib_compile_schemas=' + join_paths('${bindir}', 'glib-compile-schemas'), 'glib_compile_resources=' + join_paths('${bindir}', 'glib-compile-resources'), - 'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen')], + 'gdbus=' + join_paths('${bindir}', 'gdbus'), + 'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen'), + 'gresource=' + join_paths('${bindir}', 'gresource'), + 'gsettings=' + join_paths('${bindir}', 'gsettings')], version : glib_version, install_dir : glib_pkgconfigreldir, filebase : 'gio-2.0',