[Spice-devel] [client] spicy: Spicy uses GTK+ and must link with it

Francois Gouget fgouget at codeweavers.com
Fri Feb 24 11:23:23 UTC 2017


This avoids having the linker complain that gtk_toggle_action_get_type()
or some other GTK+ API is undefined.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 tools/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 0bdb3c54..e41e0ab5 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -28,6 +28,7 @@ spicy_SOURCES =				\
 spicy_LDADD =				\
 	$(top_builddir)/src/libspice-client-gtk-3.0.la	\
 	$(top_builddir)/src/libspice-client-glib-2.0.la	\
+	$(GTK_LIBS) \
 	$(NULL)
 
 # FIXME: GtkAction and lots of GtkUIManager APIs are deprecated
-- 
2.11.0



More information about the Spice-devel mailing list