The build-executable workflow fails on Windows because zlib 1.3.2 changed its cmake output file names:
| Old (<=1.3.1) |
New (1.3.2) |
zlibstatic.lib |
zs.lib |
zlib.lib |
z.lib |
zlib.dll |
z.dll |
SPC's zlib builder expects the old names, so the static library never gets installed correctly. PHP's configure can't find zlib, and the final link fails with 12 unresolved symbols (inflate, deflate, etc.) from curl, openssl, and libssh2.
libcurl_a.lib(content_encoding.obj) : error LNK2019: unresolved external symbol inflate
libcurl_a.lib(content_encoding.obj) : error LNK2019: unresolved external symbol deflateEnd
...
Upstream issue filed: crazywhalecc/static-php-cli#1039
In the meantime the workflow needs a workaround to rename the files and re-run configure + nmake.