[PATCH spice-gtk 2/2] build: Fix VAPI include directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If gir files are not installed generate_vapi is not able to
find generated gir files, so look also in src generated files.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 vapi/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vapi/meson.build b/vapi/meson.build
index 4737715..de9adb9 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -7,6 +7,7 @@ if spice_gtk_has_vala
     gnome.generate_vapi('spice-client-gtk-3.0',
                         install : true,
                         packages : ['gtk+-3.0', 'spice-client-glib-2.0'],
+                        gir_dirs : join_paths(meson.build_root(), 'src'),
                         vapi_dirs : meson.current_build_dir(),
                         sources : spice_client_gtk_gir[0])
   endif
-- 
2.17.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]