[libxml2] Fix missing win32 libraries in libxml-2.0.pc



commit 9031709bc716e6d1201fca9a26a5ff23b3a23d19
Author: Volker Grabsch <bugzilla gnome org v notjusthosting com>
Date:   Mon Mar 15 10:36:56 2010 +0100

    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.

 libxml-2.0.pc.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
index 075848c..31a1b8c 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@



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