Commit c46afdbc authored by Xavier Claessens's avatar Xavier Claessens

Merge branch 'nirbheek/override-find-program' into 'master'

meson: Provide our Python tools for builds

See merge request GNOME/glib!188
parents 44888734 057f393b
......@@ -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')
......
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment