mingw windows build: XML_CATALOG_FILES environment variable does not work
Hi,
I've been doing a cross-build for windows with the mingw toolchain. Unfortunately, I found one problem: Passing catalogue files with the environment variable XML_CATALOG_FILES doesn't work on windows (given that there are backslashes in the file name).
I've seen that there is some logic in catalog.c to turn backslashes into forward slashes, but this piece is missing when the file name is taken from the environment variable.
Attached patch fixes the problem for me.
Cheers, Stefan.libxml2_catalog_windows.patch