[Spice-devel] [PATCH spice-gtk 1/2] build: Fix gir dependencies

Frediano Ziglio fziglio at redhat.com
Mon Sep 3 12:46:27 UTC 2018


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 <fziglio at 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



More information about the Spice-devel mailing list