gobject: Ensure gobject from builddir is used when generating GLib-2.0.gir

Otherwise the installed one will be used, which will mean that new API
will not be available when linking.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2023-11-15 11:04:47 +00:00
parent 09b728b2da
commit 08f914b290

View File

@ -190,6 +190,7 @@ if enable_gir
'-DGLIB_COMPILATION',
'-DGETTEXT_PACKAGE="dummy"',
'--symbol-prefix=glib',
'--library-path=' + meson.current_build_dir(),
'--library=gobject-2.0',
],
)