add swoole-hook-odbc to work the same way as the other hooks

This commit is contained in:
DubbleClick
2025-08-26 00:24:40 +07:00
parent 2694dd9e21
commit b1da64d46b
6 changed files with 62 additions and 17 deletions

View File

@@ -843,12 +843,10 @@
"zlib"
],
"lib-suggests": [
"zstd",
"unixodbc"
"zstd"
],
"lib-suggests-linux": [
"zstd",
"unixodbc",
"liburing"
],
"ext-depends": [
@@ -859,7 +857,8 @@
"sockets",
"swoole-hook-pgsql",
"swoole-hook-mysql",
"swoole-hook-sqlite"
"swoole-hook-sqlite",
"swoole-hook-odbc"
]
},
"swoole-hook-mysql": {
@@ -909,6 +908,22 @@
"swoole"
]
},
"swoole-hook-odbc": {
"support": {
"Windows": "no",
"BSD": "wip"
},
"notes": true,
"type": "addon",
"arg-type": "none",
"ext-depends": [
"pdo",
"swoole"
],
"lib-depends": [
"unixodbc"
]
},
"swow": {
"support": {
"BSD": "wip"