mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Merge pull request #766 from crazywhalecc/docs
rebuild shared extensions even if they already exist
This commit is contained in:
commit
8fbe6ee8ff
@ -329,10 +329,6 @@ class Extension
|
|||||||
public function buildShared(): void
|
public function buildShared(): void
|
||||||
{
|
{
|
||||||
logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)');
|
logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)');
|
||||||
if (file_exists(BUILD_MODULES_PATH . '/' . $this->getName() . '.so')) {
|
|
||||||
logger()->info('extension ' . $this->getName() . ' already built, skipping');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
foreach ($this->dependencies as $dependency) {
|
foreach ($this->dependencies as $dependency) {
|
||||||
if (!$dependency instanceof Extension) {
|
if (!$dependency instanceof Extension) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user