[xml] [PATCH v2] Add xz to xml2-config --libs output
- From: Baruch Siach <baruch tkos co il>
- To: xml gnome org
- Cc: Daniel Veillard <veillard redhat com>
- Subject: [xml] [PATCH v2] Add xz to xml2-config --libs output
- Date: Tue, 19 Apr 2016 09:22:18 +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.
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]