Xml2 on Windows
Xml2 on Windows
<> 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.
Re: Xml2 on Windows
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Dave Page" writes: > <> 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