File generated should be depends on currently files built, not from
installed files, so use target objects for spice-gtk dependency
on spice-lib.

Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index 829a89c..b2188af 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -369,7 +369,7 @@ if spice_gtk_has_gtk
                                             export_packages : 
'spice-client-gtk-3.0',
                                             extra_args : 
['--accept-unprefixed'],
                                             header : 'spice-widget.h',
-                                            includes : ['GObject-2.0', 
'Gtk-3.0', 'SpiceClientGLib-2.0'],
+                                            includes : ['GObject-2.0', 
'Gtk-3.0', spice_client_glib_gir[0]],
                                             identifier_prefix : 'Spice',
                                             symbol_prefix : 'spice',
                                             install : 
spice_gtk_has_introspection,
-- 
2.17.1

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

Reply via email to