add -shared suffix extension to allow building newest e.g. zip.so

This commit is contained in:
henderkes
2025-10-02 16:20:00 +02:00
parent 3198cc40c1
commit 9a37534fd3
7 changed files with 59 additions and 4 deletions

View File

@@ -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;
}