mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
23 lines
422 B
PHP
23 lines
422 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace SPC\builder\extension;
|
||
|
|
|
||
|
|
use SPC\builder\Extension;
|
||
|
|
use SPC\util\CustomExt;
|
||
|
|
|
||
|
|
#[CustomExt('lz4')]
|
||
|
|
class lz4 extends Extension
|
||
|
|
{
|
||
|
|
public function getUnixConfigureArg(bool $shared = false): string
|
||
|
|
{
|
||
|
|
return '--enable-lz4 --with-lz4-includedir=' . BUILD_ROOT_PATH;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function getWindowsConfigureArg(): string
|
||
|
|
{
|
||
|
|
return '--enable-lz4';
|
||
|
|
}
|
||
|
|
}
|