mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +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()
|
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
|
Loading…
x
Reference in New Issue
Block a user