Merge branch 'giomodule' into 'main'

meson: Set GIO_EXTRA_MODULES in devenv

See merge request GNOME/glib!2518
This commit is contained in:
Philip Withnall 2022-02-22 13:38:58 +00:00
commit 00faa84f77

View File

@ -34,3 +34,9 @@ module = shared_module('giofam', 'gfamfilemonitor.c',
if not meson.is_cross_build() if not meson.is_cross_build()
meson.add_install_script('../gio-querymodules-wrapper.py', gio_querymodules.full_path(), glib_giomodulesdir) meson.add_install_script('../gio-querymodules-wrapper.py', gio_querymodules.full_path(), glib_giomodulesdir)
endif endif
if meson.version().version_compare('>=0.58')
env = environment()
env.prepend('GIO_EXTRA_MODULES', meson.current_build_dir())
meson.add_devenv(env)
endif