mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
build shared extensions before frankenphp
This commit is contained in:
@@ -368,7 +368,6 @@ class php extends TargetPackage
|
||||
return;
|
||||
}
|
||||
if (SystemTarget::isUnix()) {
|
||||
$package->runStage([$this, 'unixBuildSharedExt']);
|
||||
if ($installer->interactive) {
|
||||
InteractiveTerm::indicateProgress('Running PHP smoke tests');
|
||||
}
|
||||
|
||||
@@ -552,8 +552,10 @@ trait unix
|
||||
$package->runStage([$this, 'configureForUnix']);
|
||||
$package->runStage([$this, 'makeForUnix']);
|
||||
}
|
||||
// shared extensions build in php's postInstall (php.php) so they run AFTER
|
||||
// frankenphp's main-loop build — frankenphp links libphp only, not the .so exts.
|
||||
|
||||
// shared extensions build before frankenphp so their undefined references are
|
||||
// collected into libphp's exported dynamic-symbol list.
|
||||
$package->runStage([$this, 'unixBuildSharedExt']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user