mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-18 14:25:35 +08:00
add -shared suffix extension to allow building newest e.g. zip.so
This commit is contained in:
@@ -50,7 +50,13 @@ class LicenseDumper
|
||||
logger()->warning('Target dump directory is not empty, be aware!');
|
||||
}
|
||||
FileSystem::createDir($target_dir);
|
||||
$exts = $this->exts;
|
||||
foreach ($this->exts as $ext) {
|
||||
if (array_key_exists($ext . '-shared', Config::getExts())) {
|
||||
$exts[] = $ext . '-shared';
|
||||
}
|
||||
}
|
||||
foreach ($exts as $ext) {
|
||||
if (Config::getExt($ext, 'type') !== 'external') {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user