meson: Fix vapi build
Apparently vapigen can't find the NetworkManager-1.0.gir belonging to
libnm-util.vapi.
(cherry picked from commit 44f14e969b
)
This commit is contained in:

committed by
Beniamino Galvani

parent
c6cd8b3ee1
commit
9f2b05c1e6
@@ -18,12 +18,11 @@ if enable_libnm_glib
|
|||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
||||||
packages += libnm_util_vapi
|
|
||||||
|
|
||||||
gnome.generate_vapi(
|
gnome.generate_vapi(
|
||||||
libnm_glib_name,
|
libnm_glib_name,
|
||||||
sources: libnm_glib_gir[0],
|
sources: libnm_glib_gir[0],
|
||||||
packages: packages,
|
packages: packages + [libnm_util_vapi],
|
||||||
|
gir_dirs: [join_paths(meson.current_build_dir(), '..', 'libnm-util')],
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user