Merge pull request #16288 from Linaro1985/openwrt-21.02_fix_libxslt
[21.02] libxslt: fix compilation because of wrong libxml2 check in configure script
This commit is contained in:
commit
589625789d
1 changed files with 11 additions and 0 deletions
11
libs/libxslt/patches/010-fix-xml2-config-check.patch
Normal file
11
libs/libxslt/patches/010-fix-xml2-config-check.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -546,7 +546,7 @@ dnl make sure xml2-config is executable,
|
||||
dnl test version and init our variables
|
||||
dnl
|
||||
|
||||
-if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
|
||||
+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
|
||||
then
|
||||
AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
|
||||
XMLVERS=`$XML_CONFIG --version`
|
Loading…
Reference in a new issue