diff options
author | Aron Xu <aron@debian.org> | 2013-06-09 00:48:52 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2013-06-09 01:15:14 +0800 |
commit | 02dac3832ffbabe3423517acb4c3c339ff69bb40 (patch) | |
tree | 48897de59ee337a925727c14bbddefaf9467e52f | |
parent | 27593dae381a9dcbadfc37e151cee6130914fc4e (diff) | |
download | libxml2-02dac3832ffbabe3423517acb4c3c339ff69bb40.tar.gz |
Add LZMA_LIBS for static linking
-rw-r--r-- | debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch b/debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch index e4deba2..c5b16bb 100644 --- a/debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch +++ b/debian/patches/0001-modify-xml2-config-and-pkgconfig-behaviour.patch @@ -5,15 +5,16 @@ Subject: modify xml2-config and pkgconfig behaviour --- configure.in | 2 +- libxml-2.0-uninstalled.pc.in | 3 ++- + libxml-2.0.pc.in | 2 +- xml2-config.1 | 4 ++++ xml2-config.in | 22 ++++++++++------------ - 4 files changed, 17 insertions(+), 14 deletions(-) + 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/configure.in b/configure.in -index 3d5f48b..836695c 100644 +index d449b11..668f233 100644 --- a/configure.in +++ b/configure.in -@@ -1376,7 +1376,7 @@ case "$host" in +@@ -1380,7 +1380,7 @@ case "$host" in *) M_LIBS="-lm" ;; esac @@ -34,6 +35,17 @@ index cab6834..af16ebc 100644 +Libs: -L${libdir} -lxml2 +Libs.private: @BASE_THREAD_LIBS@ @THREAD_LIBS@ @Z_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..0de667b 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@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ @LZMA_LIBS@ + Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@ diff --git a/xml2-config.1 b/xml2-config.1 index 8cf9858..7b4195d 100644 --- a/xml2-config.1 @@ -94,4 +106,3 @@ index 1957486..b764d83 100644 *) usage --- |