diff --git a/src/SPC/builder/extension/swoole_hook_mysql.php b/src/SPC/builder/extension/swoole_hook_mysql.php index b24ac955..979c3d75 100644 --- a/src/SPC/builder/extension/swoole_hook_mysql.php +++ b/src/SPC/builder/extension/swoole_hook_mysql.php @@ -11,6 +11,11 @@ use SPC\util\CustomExt; #[CustomExt('swoole-hook-mysql')] class swoole_hook_mysql extends Extension { + public function getDistName(): string + { + return 'swoole'; + } + public function getUnixConfigureArg(): string { // pdo_mysql doesn't need to be disabled diff --git a/src/SPC/builder/extension/swoole_hook_pgsql.php b/src/SPC/builder/extension/swoole_hook_pgsql.php index e2ebf8b5..dd77db18 100644 --- a/src/SPC/builder/extension/swoole_hook_pgsql.php +++ b/src/SPC/builder/extension/swoole_hook_pgsql.php @@ -12,6 +12,11 @@ use SPC\util\CustomExt; #[CustomExt('swoole-hook-pgsql')] class swoole_hook_pgsql extends Extension { + public function getDistName(): string + { + return 'swoole'; + } + public function getUnixConfigureArg(): string { // pdo_pgsql need to be disabled diff --git a/src/SPC/builder/extension/swoole_hook_sqlite.php b/src/SPC/builder/extension/swoole_hook_sqlite.php index 564cf241..4dbfd0df 100644 --- a/src/SPC/builder/extension/swoole_hook_sqlite.php +++ b/src/SPC/builder/extension/swoole_hook_sqlite.php @@ -12,6 +12,11 @@ use SPC\util\CustomExt; #[CustomExt('swoole-hook-sqlite')] class swoole_hook_sqlite extends Extension { + public function getDistName(): string + { + return 'swoole'; + } + public function getUnixConfigureArg(): string { // pdo_pgsql need to be disabled