Permalink
Browse files

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.
  • Loading branch information...
Volker Grabsch authored and veillard committed Mar 15, 2010
1 parent 12febe8 commit 9031709bc716e6d1201fca9a26a5ff23b3a23d19
Showing with 1 addition and 1 deletion.
  1. +1 −1 libxml-2.0.pc.in
View
@@ -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@

0 comments on commit 9031709

Please sign in to comment.