[Spice-devel] [spice-gtk v2 10/16] tests: fix build with smartcard enabled

Victor Toso victortoso at redhat.com
Mon May 23 11:50:47 UTC 2016


In file included from
../spice-common/common/client_marshallers.h:29:0,
from ../src/spice-channel-priv.h:35,
from ../src/spice-file-transfer-task-priv.h:28,
from file-transfer.c:3:
../spice-common/common/messages.h:45:23: fatal error: libcacard.h: No such file or directory
compilation terminated.
---
 tests/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7f3a6b9..56f6c06 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,6 +21,7 @@ noinst_PROGRAMS += $(TESTS)
 AM_CPPFLAGS =					\
 	$(COMMON_CFLAGS)			\
 	$(GIO_CFLAGS)				\
+	$(SMARTCARD_CFLAGS)			\
 	-I$(top_srcdir)/src			\
 	-I$(top_builddir)/src			\
 	-DG_LOG_DOMAIN=\"GSpice\"		\
-- 
2.5.5



More information about the Spice-devel mailing list