update checks for shared swoole-hook extensions

This commit is contained in:
DubbleClick
2025-08-25 12:08:53 +07:00
parent 75f734daa8
commit 8104ff7236
6 changed files with 42 additions and 6 deletions

View File

@@ -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
}
}