1 we don't want -L/usr/lib in xml2-config output.
2 --- libxml2-2.9.4/configure.ac.orig Wed May 22 14:25:46 2019
3 +++ libxml2-2.9.4/configure.ac Wed May 22 14:26:07 2019
5 AC_CHECK_FUNC(isinf, AC_DEFINE([HAVE_ISINF], [], [Define if isinf is there]) , AC_CHECK_LIB(m, isinf,
6 [AC_DEFINE([HAVE_ISINF], [], [Define if isinf is there])]))
8 -XML_LIBDIR='-L${libdir}'
10 XML_INCLUDEDIR='-I${includedir}/libxml2'