[libxml2] build: Add @LZMA_LIBS@ to libxml’ s pkg-config files



commit f859d9a78350246222185a9605ae65da8ce42cea
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Oct 28 17:15:07 2013 +0000

    build: Add @LZMA_LIBS@ to libxml’s pkg-config files
    
    If libxml2 is built and linked against liblzma, the latter needs to appear in
    libxml2’s Libs.private pkg-config field, otherwise static linking against
    libxml2 will fail due to unresolved liblzma symbols.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711026

 libxml-2.0-uninstalled.pc.in |    2 +-
 libxml-2.0.pc.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libxml-2.0-uninstalled.pc.in b/libxml-2.0-uninstalled.pc.in
index cab6834..60b886b 100644
--- a/libxml-2.0-uninstalled.pc.in
+++ b/libxml-2.0-uninstalled.pc.in
@@ -8,5 +8,5 @@ Name: libXML
 Version: @VERSION@
 Description: libXML library version2.
 Requires:
-Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
+Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
 Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
index f5f5f03..2653a7c 100644
--- a/libxml-2.0.pc.in
+++ b/libxml-2.0.pc.in
@@ -9,5 +9,5 @@ Version: @VERSION@
 Description: libXML library version2.
 Requires:
 Libs: -L${libdir} -lxml2
-Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
+Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
 Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]