mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 07:45:39 +08:00
update checks for shared swoole-hook extensions
This commit is contained in:
@@ -53,4 +53,15 @@ class swoole_hook_pgsql extends Extension
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function getSharedExtensionLoadString(): string
|
||||
{
|
||||
$ret = parent::getSharedExtensionLoadString();
|
||||
return str_replace(' -d "extension=' . $this->name . '"', '', $ret);
|
||||
}
|
||||
|
||||
public function buildShared(): void
|
||||
{
|
||||
// nothing to do, it's built into swoole
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user