18 lines
328 B
PHP
Raw Normal View History

2023-04-15 18:45:11 +08:00
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('zstd')]
class zstd extends Extension
{
public function getUnixConfigureArg(bool $shared = false): string
2023-04-15 18:45:11 +08:00
{
return '--enable-zstd --with-libzstd="' . BUILD_ROOT_PATH . '"';
2023-04-15 18:45:11 +08:00
}
}