mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
18 lines
324 B
PHP
18 lines
324 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace SPC\builder\extension;
|
||
|
|
|
||
|
|
use SPC\builder\Extension;
|
||
|
|
use SPC\util\CustomExt;
|
||
|
|
|
||
|
|
#[CustomExt('snappy')]
|
||
|
|
class snappy extends Extension
|
||
|
|
{
|
||
|
|
public function getUnixConfigureArg(): string
|
||
|
|
{
|
||
|
|
return '--enable-snappy --with-snappy-includedir="' . BUILD_ROOT_PATH . '"';
|
||
|
|
}
|
||
|
|
}
|