update spx, works static and shared

This commit is contained in:
DubbleClick
2025-05-25 11:48:52 +07:00
parent 14ca782672
commit 234df8d11f
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ class spx extends Extension
{
public function getUnixConfigureArg(bool $shared = false): string
{
$arg = '--enable-SPX';
$arg = '--enable-spx' . ($shared ? '=shared' : '');
if ($this->builder->getExt('zlib') === null) {
$arg .= ' --with-zlib-dir=' . BUILD_ROOT_PATH;
}