mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
18 lines
312 B
PHP
18 lines
312 B
PHP
|
|
<?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';
|
||
|
|
}
|
||
|
|
}
|