23 lines
456 B
PHP
Raw Normal View History

2025-06-05 11:33:51 +07:00
<?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
{
2025-06-05 11:35:50 +07:00
return '--enable-lz4' . ($shared ? '=shared' : '') . ' --with-lz4-includedir=' . BUILD_ROOT_PATH;
2025-06-05 11:33:51 +07:00
}
public function getWindowsConfigureArg(): string
{
return '--enable-lz4';
}
}