summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Grabsch <bugzilla.gnome.org@v.notjusthosting.com>2010-03-15 10:36:56 +0100
committerDaniel Veillard <veillard@redhat.com>2010-03-15 10:36:56 +0100
commit9031709bc716e6d1201fca9a26a5ff23b3a23d19 (patch)
tree281d9591ec6f1e5a30e345496d7b64f9b3cfeed0
parent12febe86fe7831efa1cc6a49bbd6fa94c057b2f5 (diff)
downloadlibxml2-9031709bc716e6d1201fca9a26a5ff23b3a23d19.tar.gz
Fix missing win32 libraries in libxml-2.0.pc
The libxml-2.0.pc file doesn't contain the win32 specific libraries. So when (cross-)compiling for Windows, the output of pkg-config libxml-2.0 --libs returns an incompile set of libraries. Thus, applications using libxml2's network functionality fail to build for the win32 platform.
-rw-r--r--libxml-2.0.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
index 075848cc..31a1b8ce 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: @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
+Libs.private: @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@