[Spice-devel] [PATCH spice-common 3/3] test-region: Add missing dependencies

Frediano Ziglio fziglio at redhat.com
Sun Dec 16 12:39:04 UTC 2018


The test uses both GLib and pixman libraries.
This does not seem to affect Linux but make the test fails under Windows.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 tests/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 926ac99..650c4c1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -58,11 +58,15 @@ test_region_SOURCES = \
 	$(NULL)
 test_region_CFLAGS =			\
 	-I$(top_srcdir)			\
+	$(GLIB2_CFLAGS)			\
+	$(PIXMAN_CFLAGS)		\
 	$(SPICE_COMMON_CFLAGS)		\
 	$(PROTOCOL_CFLAGS)		\
 	$(NULL)
 test_region_LDADD =					\
 	$(top_builddir)/common/libspice-common.la	\
+	$(GLIB2_LIBS)					\
+	$(PIXMAN_LIBS)					\
 	$(NULL)
 
 # Avoid need for python(pyparsing) by end users
-- 
2.17.2



More information about the Spice-devel mailing list