Index: third_party/libxml/include/libxml/xmlexports.h |
diff --git a/third_party/libxml/include/libxml/xmlexports.h b/third_party/libxml/include/libxml/xmlexports.h |
index 29a6f54f7788b3fddc229c0159f0523bfdf6f4e7..9c6790c80f48ecacbfd5c3a12145f1f9b01ff7eb 100644 |
--- a/third_party/libxml/include/libxml/xmlexports.h |
+++ b/third_party/libxml/include/libxml/xmlexports.h |
@@ -108,6 +108,11 @@ |
#undef XMLPUBVAR |
#undef XMLCALL |
#undef XMLCDECL |
+ /* |
+ * if defined(IN_LIBXML) this raises problems on mingw with msys |
+ * _imp__xmlFree listed as missing. Try to workaround the problem |
+ * by also making that declaration when compiling client code. |
+ */ |
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC) |
#define XMLPUBFUN __declspec(dllexport) |
#define XMLPUBVAR __declspec(dllexport) |