Browse Source

libxslt: fix compilation because of wrong libxml2 check in configure script

More details: 90c34c8bb9

Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
lilik-openwrt-22.03
Maxim Anisimov 3 years ago
parent
commit
b5ac497d66
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/libxslt/patches/010-fix-xml2-config-check.patch

+ 11
- 0
libs/libxslt/patches/010-fix-xml2-config-check.patch View 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…
Cancel
Save