[xml] [PATCH] Add xz to xml2-config --libs output
- From: Baruch Siach <baruch tkos co il>
- To: xml gnome org
- Subject: [xml] [PATCH] Add xz to xml2-config --libs output
- Date: Mon, 28 Mar 2016 20:15:55 +0300
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 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 55a5a6f2c818..d965fca1eb7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1480,7 +1480,7 @@ case "$host" in
*) M_LIBS="-lm"
;;
esac
-XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
+XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
XML_LIBTOOLLIBS="libxml2.la"
AC_SUBST(WITH_ICONV)
--
2.8.0.rc3
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]