diff --git a/src/libxml2-fix-pkgconfig.patch b/src/libxml2-fix-pkgconfig.patch new file mode 100644 index 00000000..3d1f4b25 --- /dev/null +++ b/src/libxml2-fix-pkgconfig.patch @@ -0,0 +1,13 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +diff -ru libxml2-2.7.6.orig/libxml-2.0.pc.in libxml2-2.7.6/libxml-2.0.pc.in +--- libxml2-2.7.6.orig/libxml-2.0.pc.in 2009-09-24 17:31:59.000000000 +0200 ++++ libxml2-2.7.6/libxml-2.0.pc.in 2010-02-24 13:33:47.000000000 +0100 +@@ -9,5 +9,5 @@ + 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@