Add frankenphp SAPI build support

This commit is contained in:
crazywhalecc
2026-02-10 22:35:25 +08:00
committed by Jerry Ma
parent 82bf317911
commit 18434b68f6
12 changed files with 392 additions and 89 deletions

View File

@@ -614,8 +614,13 @@ class PackageInstaller
}
} else {
// process specific php sapi targets
$this->build_packages['php'] = PackageLoader::getPackage('php');
$this->install_packages[$package->getName()] = $package;
if ($package->getName() === 'frankenphp') {
$this->build_packages['php'] = PackageLoader::getPackage('php');
$this->build_packages['frankenphp'] = PackageLoader::getPackage('frankenphp');
} else {
$this->install_packages[$package->getName()] = $package;
$this->build_packages['php'] = PackageLoader::getPackage('php');
}
}
}