mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
build shared extensions before frankenphp
This commit is contained in:
@@ -368,7 +368,6 @@ class php extends TargetPackage
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (SystemTarget::isUnix()) {
|
if (SystemTarget::isUnix()) {
|
||||||
$package->runStage([$this, 'unixBuildSharedExt']);
|
|
||||||
if ($installer->interactive) {
|
if ($installer->interactive) {
|
||||||
InteractiveTerm::indicateProgress('Running PHP smoke tests');
|
InteractiveTerm::indicateProgress('Running PHP smoke tests');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -552,8 +552,10 @@ trait unix
|
|||||||
$package->runStage([$this, 'configureForUnix']);
|
$package->runStage([$this, 'configureForUnix']);
|
||||||
$package->runStage([$this, 'makeForUnix']);
|
$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