Open cmb69 opened 5 hours ago
libxml2.lib is a shared lib and needs libxml2.dll. libxml2_a.lib and libxml2_a_dll.lib are static libs. libxml2_a_dll.lib is the preferred one for PHP, but in some places there are still references to libxml2_a.lib for cases when libxml2_a_dll.lib cannot be found. For instance: https://github.com/php/php-src/blob/PHP-8.4/ext/libxml/config.w32#L6 I do not know what the exact differences between libxml2_a.lib and libxml2_a_dll.lib are.
Ah, thank you @Jan-E!
In the meantime I found that libxml2_a_dll.lib provides xmlDllMain()
, while libxml2_a.lib does not (with the latter, building ext/libxml apparently fails). I'll have a closer look.
Why are there three libs?