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 <[email protected]>
---
 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

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to