Build com_dotnet shared by default

The official Windows builds and CI are doing this for ages, so it
appears to be overdue to finally switch the actual default.

Closes GH-16300.
This commit is contained in:
Christoph M. Becker 2024-10-08 14:21:34 +02:00
parent dd4fc9aebb
commit 03cbb3ee58
No known key found for this signature in database
GPG Key ID: D66C9593118BCCB6
3 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,6 @@ set CFLAGS=/W1 /WX
cmd /c configure.bat ^
--enable-snapshot-build ^
--disable-debug-pack ^
--enable-com-dotnet=shared ^
--without-analyzer ^
--enable-object-out-dir=%PHP_BUILD_OBJ_DIR% ^
--with-php-build=%DEPS_DIR% ^

View File

@ -147,6 +147,11 @@ PHP 8.5 UPGRADE NOTES
PHP_RELEASE_VERSION are now always numbers. Previously, they have been
strings for buildconf builds.
* COM:
. The extension is now build shared by default; previously it defaulted to a
static extension, although the official Windows binaries built a shared
extension.
* FFI:
. It is no longer necessary to specify the library when using FFI::cdef()
and FFI::load(). However, this convenience feature should not be used in

View File

@ -1,6 +1,6 @@
// vim:ft=javascript
ARG_ENABLE("com-dotnet", "COM and .Net support", "yes");
ARG_ENABLE("com-dotnet", "COM and .Net support", "yes,shared");
if (PHP_COM_DOTNET == "yes") {
CHECK_LIB('oleaut32.lib', 'com_dotnet');