When I try to build XML-LibXML-2.0012 against a static libxml2.a, the build fails because it expects dynamic libxml2 symbols (prefixed with '_imp__').
If you're getting that _imp stuff you're building against the DLL -- you need perl Makefile.PL DEFINE=" -DLIBXSLT_STATIC -DLIBEXSLT_STATIC -DLIBXML_STATIC " ... to build sucessfully against static version, in addition to the appropriate LIBS/INC
The problem with Makefile.PL is it rewrites my LIBS/INC arguments to what it thinks should be -- doesn't let me choose between static/dynamic -- kind of defeats the purpose of those args
Hmm, I guess I could have installed the static/dynamic versions in different directories -- then when Makefile.PL does its detecting it can't choose wrong -- I guess
sh configure --disable-static --enable-shared prefix=/junk/static
sh configure --disable-shared --enable-static prefix=/junk/dynamic