libxml2.dll link issue

Hi, I’m now trying to build my project as a dll which uses the collada libraries. Currently it is searching for the libxml2.dll file, is there a way to statically link this so it doesn’t have to be dynamically linked or copied to the system32 folder?

Thanks,
Nat

Link against libxml2_a.lib, not libxml2.lib.