mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
fix shared bz2 build
This commit is contained in:
@@ -24,4 +24,9 @@ class bz2 extends Extension
|
||||
FileSystem::replaceFileRegex(SOURCE_PATH . '/php-src/configure', '/-lbz2/', $this->getLibFilesString() . $frameworks);
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getUnixConfigureArg(bool $shared = false): string
|
||||
{
|
||||
return $shared ? '--with-bz2=' . BUILD_ROOT_PATH : '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user