[Libreoffice-commits] core.git: configure.ac

Michael Stahl mstahl at redhat.com
Mon Oct 10 14:58:29 UTC 2016


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 69dcc7adae5c531b4da8c099bd1e2f99b851ebcd
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Oct 10 16:49:14 2016 +0200

    configure: avoid linking against libgcrypt for libexslt
    
    There are at least 2 different versions libgcrypt.so.20 and
    libgcrypt.so.11 in use, and it's a private dependency of libexslt
    anyway, so filter this out of LIBEXSLTLIBS.
    
    Change-Id: Iafc33ef5ead2a86bedb4d5e485f6a16eb0544686

diff --git a/configure.ac b/configure.ac
index d248c93..02b00df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8038,7 +8038,7 @@ if test "$with_system_libxml" = "yes"; then
         PKG_CHECK_MODULES(LIBEXSLT, libexslt)
         LIBEXSLT_CFLAGS=$(printf '%s' "$LIBEXSLT_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g")
         FilterLibs "${LIBEXSLT_LIBS}"
-        LIBEXSLT_LIBS="${filteredlibs}"
+        LIBEXSLT_LIBS=$(printf '%s' "${filteredlibs}" | sed -e "s/-lgpg-error//"  -e "s/-lgcrypt//")
     fi
 
     dnl Check for xsltproc


More information about the Libreoffice-commits mailing list