Add com_dotnet extension (#1023)

This commit is contained in:
Jerry Ma
2026-02-03 19:08:19 +08:00
committed by GitHub
parent 0cfa2036f0
commit b89ff3c083
4 changed files with 36 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('com_dotnet')]
class com_dotnet extends Extension
{
public function getWindowsConfigureArg(bool $shared = false): string
{
return '--enable-com-dotnet=yes';
}
}