Merge branch 'override' into 'master'

Meson: Override glib-compile-resources/schemas

See merge request GNOME/glib!1037
This commit is contained in:
Philip Withnall 2019-08-23 11:30:46 +00:00
commit 3c9ff2712f

View File

@ -963,6 +963,14 @@ glib_compile_resources = executable('glib-compile-resources',
link_args : noseh_link_args,
dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep])
# Cannot override those programs in cross compilation case because they are
# native executables that cannot be run on the build machine.
# See https://gitlab.gnome.org/GNOME/glib/issues/1859.
if not meson.is_cross_build()
meson.override_find_program('glib-compile-schemas', glib_compile_schemas)
meson.override_find_program('glib-compile-resources', glib_compile_resources)
endif
executable('gsettings', 'gsettings-tool.c',
install : true,
c_args : gio_c_args,