summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gio/gdbus-2.0/codegen/meson.build2
-rw-r--r--gobject/meson.build2
2 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdbus-2.0/codegen/meson.build b/gio/gdbus-2.0/codegen/meson.build
index af1bc9fb2..3ac6ea508 100644
--- a/gio/gdbus-2.0/codegen/meson.build
+++ b/gio/gdbus-2.0/codegen/meson.build
@@ -20,6 +20,8 @@ gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
install_dir : get_option('bindir'),
configuration : gdbus_codegen_conf
)
+ # Provide tools for others when we're a subproject and they use the Meson GNOME module
+meson.override_find_program('gdbus-codegen', gdbus_codegen)
codegen_dir = join_paths(get_option('datadir'), 'glib-2.0/codegen')
diff --git a/gobject/meson.build b/gobject/meson.build
index d34a897a7..01ba59b70 100644
--- a/gobject/meson.build
+++ b/gobject/meson.build
@@ -105,6 +105,8 @@ foreach tool: python_tools
# Set variables for later use
set_variable(tool.underscorify(), tool_bin)
+ # Provide tools for others when we're a subproject and they use the Meson GNOME module
+ meson.override_find_program(tool, tool_bin)
endforeach
executable('gobject-query', 'gobject-query.c',