From 9f85b747f812707c58974b97037dd76818921fc4 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 8 Oct 2024 14:21:34 +0200 Subject: [PATCH] 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. --- .github/scripts/windows/build_task.bat | 1 - ext/com_dotnet/config.w32 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/windows/build_task.bat b/.github/scripts/windows/build_task.bat index ec4ce4459d08..7a2824e29970 100644 --- a/.github/scripts/windows/build_task.bat +++ b/.github/scripts/windows/build_task.bat @@ -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% ^ diff --git a/ext/com_dotnet/config.w32 b/ext/com_dotnet/config.w32 index cc548ac48c77..ebd55b1b3f06 100644 --- a/ext/com_dotnet/config.w32 +++ b/ext/com_dotnet/config.w32 @@ -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');