[php-src] PR #17480: Support building a shared php8embed.dll
| From: | cmb69 | Date: | Wed, 15 Jan 2025 19:28:54 +0000 |
| Subject: | [php-src] PR #17480: Support building a shared php8embed.dll | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30402@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17480
Author: cmb69
So far only static php8embed.lib has been supported on Windows, while on POSIX the choice was up to
the user. Now,
--enable-embed=shared is also supported on Windows.
For BC reasons we stick with static as default; the resulting embed library can be used like before.
To avoid that snapshot builds now build a shared library, we add an exemption to confutils.js.
To properly support a static and a shared library, respectively, we do the customary
__declspec dance.