Add ext-glfw support for Windows

This commit is contained in:
crazywhalecc
2026-04-08 22:14:37 +08:00
parent c207269998
commit 9182cf1e34
3 changed files with 22 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ use StaticPHP\Util\FileSystem;
class glfw extends PhpExtensionPackage
{
#[BeforeStage('php', [php::class, 'buildconfForUnix'], 'ext-glfw')]
#[BeforeStage('php', [php::class, 'buildconfForWindows'], 'ext-glfw')]
#[PatchDescription('Patch glfw extension before buildconf')]
public function patchBeforeBuildconf(): void
{