Xml2 on Windows
<<xml2.patch>> The attached patch fixes the xml2 contrib module for
windows, by changing the order of -lxslt & -lxml2 (yes, after 2 releases
that's all it took!). Tested on Windows & Linux.
It might be worth manually testing this on any other platforms that
might be sensitive to the library order - this module is *not* tested by
the buildfarm (perhaps an autoconf change would be appropriate to build
it if libxml/libxslt are on the build machine, but that's a whole other
problem)
This completes todo item "Port contrib/xml2".
Regards, dave.
Attachments:
xml2.patchapplication/octet-stream; name=xml2.patchDownload+2-1
"Dave Page" <dpage@vale-housing.co.uk> writes:
<<xml2.patch>> The attached patch fixes the xml2 contrib module for
windows, by changing the order of -lxslt & -lxml2 (yes, after 2 releases
that's all it took!). Tested on Windows & Linux.
Doh!
It might be worth manually testing this on any other platforms that
might be sensitive to the library order
libxslt depends on libxml2, not vice versa, so I think we can be pretty
sure this is a safe change. Will apply.
regards, tom lane