mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 07:45:39 +08:00
Add frameworks for extension
This commit is contained in:
@@ -67,6 +67,10 @@ class MacOSBuilder extends UnixBuilderBase
|
||||
array_push($frameworks, ...$lib->getFrameworks());
|
||||
}
|
||||
|
||||
foreach ($this->exts as $ext) {
|
||||
array_push($frameworks, ...$ext->getFrameworks());
|
||||
}
|
||||
|
||||
if ($asString) {
|
||||
return implode(' ', array_map(fn ($x) => "-framework {$x}", $frameworks));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user