mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 15:55:39 +08:00
use type=addon and arg-type=none
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user