[libxml2] Add xz to xml2-config --libs output
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Add xz to xml2-config --libs output
- Date: Thu, 28 Apr 2016 07:15:16 +0000 (UTC)
commit 2e354d7432dd4fd946328c242ff5289d9bfb3ce9
Author: Baruch Siach <baruch tkos co il>
Date: Thu Apr 28 15:09:25 2016 +0800
Add xz to xml2-config --libs output
XML_LIBS should include LZMA_LIBS. This ensures that 'xml2-config --libs'
shows -llzma when xz is enabled. Otherwise static link fails because of
missing xz symbols.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fd05c56..352da48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1526,7 +1526,7 @@ else
LDFLAGS="${_ldflags}"])]))
fi
fi
-XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $LIBS"
+XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $LIBS"
XML_LIBTOOLLIBS="libxml2.la"
AC_SUBST(WITH_ICU)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]