mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-02 19:00:08 +02:00
Merge branch 'no-override-g-ir-compiler' into 'main'
build: Only override g-ir-compiler when GIR generation is enabled See merge request GNOME/glib!3876
This commit is contained in:
commit
a59499ab0a
@ -24,6 +24,10 @@ gicompilerepository = executable('gi-compile-repository', 'compiler.c',
|
|||||||
c_args: custom_c_args,
|
c_args: custom_c_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Replace the default g-ir-compiler target with the version we
|
# Only override the user-installed compiler if we need to generate the GIRs
|
||||||
# just built.
|
# GLib, Gio, and GObject...
|
||||||
meson.override_find_program('g-ir-compiler', gicompilerepository)
|
if enable_gir
|
||||||
|
# Replace the default g-ir-compiler target with the version we
|
||||||
|
# just built.
|
||||||
|
meson.override_find_program('g-ir-compiler', gicompilerepository)
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user