mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
fix brotli
This commit is contained in:
17
src/SPC/builder/extension/brotli.php
Normal file
17
src/SPC/builder/extension/brotli.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace SPC\builder\extension;
|
||||||
|
|
||||||
|
use SPC\builder\Extension;
|
||||||
|
use SPC\util\CustomExt;
|
||||||
|
|
||||||
|
#[CustomExt('brotli')]
|
||||||
|
class brotli extends Extension
|
||||||
|
{
|
||||||
|
public function getUnixConfigureArg(bool $shared = false): string
|
||||||
|
{
|
||||||
|
return $this->getEnableArg($shared) . '--with-libbrotli';
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user