https://bugs.winehq.org/show_bug.cgi?id=56973
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Zeb Figura from comment #2)
(In reply to Nikolay Sivov from comment #1)
I think the question here is why this path is used:
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libxml2
It's most likely incompatible, and for wine we are using imported libxml2 code, including headers.
Because using external PE libraries is supported. Are we modifying the bundled libxml in a way that makes it incompatible? If so (and assuming we really do need to do that) we shouldn't allow using external libxml.
No, we don't modify it. It appears to be their change [1], for no good reason.
[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d