You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(windows): ship php8embed.lib static dependency libs in the SDK tarball (#16)
The Windows Package SDK step copied only php8embed.lib. spc's
--build-embed is a static build: php8embed.lib carries PHP's objects but
its third-party deps (openssl/libcrypto, zlib, libxml2, ICU, oniguruma,
sqlite3, ...) are separate .lib files. ephpm links the embed lib
statically (like libphp.a on Linux/macOS), so those dep libs must ship
or the final MSVC link fails with unresolved externals -- the Linux and
macOS Package SDK steps already copy every *.a from buildroot/lib for
exactly this reason.
Copy all *.lib from spc's buildroot*/lib dirs plus php8embed.lib's own
directory (scoped to spc output, not a tree-wide sweep that would grab
MSVC/Windows-SDK import libs), and print a full .lib inventory so the
downstream link's unresolved-externals list can be matched against what
actually shipped.
0 commit comments