mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
meson: Set GIO_EXTRA_MODULES in devenv
This makes GIO find the fam module within "meson devenv" without having to install it on the system.
This commit is contained in:
parent
94f3bb7074
commit
0071abc187
@ -34,3 +34,9 @@ module = shared_module('giofam', 'gfamfilemonitor.c',
|
||||
if not meson.is_cross_build()
|
||||
meson.add_install_script('../gio-querymodules-wrapper.py', gio_querymodules.full_path(), glib_giomodulesdir)
|
||||
endif
|
||||
|
||||
if meson.version().version_compare('>=0.58')
|
||||
env = environment()
|
||||
env.prepend('GIO_EXTRA_MODULES', meson.current_build_dir())
|
||||
meson.add_devenv(env)
|
||||
endif
|
Loading…
Reference in New Issue
Block a user