Skip to content
Snippets Groups Projects
Commit 4d6e9d19 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Fix libxml2 makefile check for CXX=clang

parent b149332e
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -75,7 +75,7 @@ ifneq (0, $(CPPUNIT_EXISTS))
$(error You need cppunit installed)
endif
 
LIBXML2_EXISTS = $(shell $(CXX) -o /dev/null -I/usr/include/libxml2/ -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++ -std=c++11 - <<< $$'\#include <libxml/xmlreader.h>\nint main() {\nreturn 0;\n}'; echo $$?)
ifneq (0, $(LIBXML2_EXISTS))
$(error You need libxml2 installed)
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