Thread: Xml2 on Windows

Xml2 on Windows

From
"Dave Page"
Date:
 <<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.

Attachment

Re: Xml2 on Windows

From
Tom Lane
Date:
"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