Add Windows build configuration support for opcache extension

This commit is contained in:
crazywhalecc
2026-04-09 10:07:21 +08:00
parent 9b8e0c794a
commit 1bee20ac61

View File

@@ -29,6 +29,7 @@ class opcache extends PhpExtensionPackage
}
#[BeforeStage('php', [php::class, 'buildconfForUnix'], 'ext-opcache')]
#[BeforeStage('php', [php::class, 'buildconfForWindows'], 'ext-opcache')]
#[PatchDescription('Fix static opcache build for PHP 8.2.0 to 8.4.x')]
public function patchBeforeBuildconf(PackageInstaller $installer): bool
{