From 21c18320ebaef21411fb7d9afba66b6d247515a5 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Sun, 14 Jun 2015 16:51:32 +0200
Subject: [PATCH] finally fix libraries test (hope)

---
 makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefile b/makefile
index 68533be362..e13d7abc2b 100644
--- a/makefile
+++ b/makefile
@@ -53,7 +53,7 @@ ifneq (0, $(CPPUNIT_EXISTS))
 $(error You need cppunit installed)
 endif
 
-LIBXML2_EXISTS = $(shell $(CXX) -o /dev/null -lxml2 -xc++ - <<< $$'\#include <libxml/xmlreader.h>\nint main() {\nreturn 0;\n}'; echo $$?)
+LIBXML2_EXISTS = $(shell $(CXX) -o /dev/null -I/usr/include/libxml2/ -lxml2 -xc++ - <<< $$'\#include <libxml/xmlreader.h>\nint main() {\nreturn 0;\n}'; echo $$?)
 ifneq (0, $(LIBXML2_EXISTS))
 $(error You need libxml2 installed)
 endif
-- 
GitLab