Merge branch '3244-typelib-path' into 'main'

girepository: Export builddir typelib and GIR paths

Closes #3244

See merge request GNOME/glib!3880
This commit is contained in:
Marco Trevisan 2024-02-12 13:45:00 +00:00
commit 730a348574

View File

@ -207,6 +207,13 @@ libgirepository_dep = declare_dependency(
dependencies: [libglib_dep, libgobject_dep, libgio_dep, libgmodule_dep],
sources: [gi_visibility_h],
include_directories: [girepoinc],
variables: {
# Export the path for the built GLib-2.0.typelib (etc.) for when GLib is
# used as a subproject. The variable names match those in
# pkgconfig_variables below.
'girdir': meson.current_build_dir() / 'introspection',
'typelibdir': meson.current_build_dir() / 'introspection',
},
)
executable('gi-dump-types',