mirror of
https://github.com/php/php-src.git
synced 2024-11-23 01:44:06 +08:00
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:
parent
dd4fc9aebb
commit
03cbb3ee58
1
.github/scripts/windows/build_task.bat
vendored
1
.github/scripts/windows/build_task.bat
vendored
@ -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% ^
|
||||
|
@ -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
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user