[Spice-devel] [PATCH xf86-qxl 3/3] build-sys: fix out of tree build

Marc-André Lureau marcandre.lureau at redhat.com
Wed Apr 1 04:59:01 PDT 2015


Fixes:
../../src/spiceqxl_smartcard.c:36:32: fatal error: spiceqxl_smartcard.h: No such file or directory
 #include spiceqxl_smartcard.h
---
 src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 4a93c7b..9012487 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,7 +33,8 @@ AM_CFLAGS =					\
 	$(PCIACCESS_CFLAGS)			\
 	$(CWARNFLAGS)				\
 	$(DRM_CFLAGS)				\
-	$(LIBUDEV_CFLAGS)
+	$(LIBUDEV_CFLAGS)			\
+	-I$(srcdir)
 
 if BUILD_QXL
 qxl_drv_la_LTLIBRARIES = qxl_drv.la
-- 
2.1.0



More information about the Spice-devel mailing list