[Intel-gfx] [i-g-t][PATH] debugger: Include path for cairo to fix compiler error

Xiang, Haihao haihao.xiang at intel.com
Thu Feb 28 06:37:52 CET 2013


From: "Xiang, Haihao" <haihao.xiang at intel.com>

  CC     eudb.o
In file included from eudb.c:44:0:
../lib/drmtest.h:34:19: fatal error: cairo.h: No such file or directory
compilation terminated.
make[3]: *** [eudb.o] Error 1

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 debugger/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debugger/Makefile.am b/debugger/Makefile.am
index d76e2ac..fde6e02 100644
--- a/debugger/Makefile.am
+++ b/debugger/Makefile.am
@@ -11,6 +11,7 @@ AM_CPPFLAGS = 			\
 AM_CFLAGS = 			\
 	$(DRM_CFLAGS) 		\
 	$(PCIACCESS_CFLAGS) 	\
-	$(CWARNFLAGS)
+	$(CWARNFLAGS)		\
+	$(CAIRO_CFLAGS)
 
 LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS)
-- 
1.7.9.5




More information about the Intel-gfx mailing list