mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Refactor package resolution to filter only available build artifacts
This commit is contained in:
@@ -233,7 +233,7 @@ class UnixCMakeExecutor extends Executor
|
||||
if ($this->package instanceof TargetPackage) {
|
||||
$resolvedNames = array_keys($this->installer->getResolvedPackages());
|
||||
$resolvedNames[] = $this->package->getName();
|
||||
$fwFlags = SPCConfigUtil::getFrameworksString($resolvedNames);
|
||||
$fwFlags = new SPCConfigUtil()->getFrameworksString($resolvedNames);
|
||||
if ($fwFlags !== '') {
|
||||
$exeLinkerFlags .= " {$fwFlags}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user