use type=addon and arg-type=none

This commit is contained in:
DubbleClick
2025-08-25 12:57:49 +07:00
parent 1c7fa0132d
commit 324ba0d3dc
5 changed files with 12 additions and 55 deletions

View File

@@ -25,11 +25,6 @@ class swoole_hook_pgsql extends Extension
}
}
public function getUnixConfigureArg(bool $shared = false): string
{
return ''; // enabled in swoole.php
}
public function runCliCheckUnix(): void
{
// skip if not enable swoole
@@ -52,15 +47,4 @@ 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
}
}