Skip to content
Snippets Groups Projects
Commit 21c18320 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

finally fix libraries test (hope)

parent 1bf2d057
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ ifneq (0, $(CPPUNIT_EXISTS)) ...@@ -53,7 +53,7 @@ ifneq (0, $(CPPUNIT_EXISTS))
$(error You need cppunit installed) $(error You need cppunit installed)
endif 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)) ifneq (0, $(LIBXML2_EXISTS))
$(error You need libxml2 installed) $(error You need libxml2 installed)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment