This commit is contained in:
DubbleClick 2025-06-06 13:57:45 +07:00
parent 621e396373
commit 4582e1f508
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class lz4 extends Extension
return '--enable-lz4' . ($shared ? '=shared' : '') . ' --with-lz4-includedir=' . BUILD_ROOT_PATH; return '--enable-lz4' . ($shared ? '=shared' : '') . ' --with-lz4-includedir=' . BUILD_ROOT_PATH;
} }
public function getWindowsConfigureArg(): string public function getWindowsConfigureArg(bool $shared = false): string
{ {
return '--enable-lz4'; return '--enable-lz4';
} }

View File

@ -9,9 +9,10 @@ use SPC\exception\RuntimeException;
class SystemUtil class SystemUtil
{ {
static ?string $libc_version = null;
use UnixSystemUtilTrait; use UnixSystemUtilTrait;
public static ?string $libc_version = null;
/** @noinspection PhpMissingBreakStatementInspection */ /** @noinspection PhpMissingBreakStatementInspection */
public static function getOSRelease(): array public static function getOSRelease(): array
{ {