Re: [xml] [PATCH v2] Add xz to xml2-config --libs output
- From: Daniel Veillard <veillard redhat com>
- To: Baruch Siach <baruch tkos co il>
- Cc: xml gnome org
- Subject: Re: [xml] [PATCH v2] Add xz to xml2-config --libs output
- Date: Thu, 28 Apr 2016 15:12:29 +0800
Right, makes sense, pushed,
thanks !
Daniel
On Tue, Apr 19, 2016 at 09:22:18AM +0300, Baruch Siach wrote:
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.
---
v2: rebase on current master
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index fd05c56141d5..352da48d5399 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)
--
2.8.0.rc3
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
https://mail.gnome.org/mailman/listinfo/xml
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]