diff --git a/config/ext.json b/config/ext.json index 4d6044b3..5650b9d8 100644 --- a/config/ext.json +++ b/config/ext.json @@ -426,6 +426,17 @@ }, "notes": true }, + "odbc": { + "support": { + "BSD": "wip", + "Windows": "wip" + }, + "type": "builtin", + "arg-type-unix": "custom", + "lib-depends-unix": [ + "unixodbc" + ] + }, "opcache": { "type": "builtin", "arg-type-unix": "custom" @@ -492,6 +503,20 @@ "mysqlnd" ] }, + "pdo_odbc": { + "support": { + "BSD": "wip" + }, + "type": "builtin", + "arg-type": "custom", + "lib-depends-unix": [ + "unixodbc" + ], + "ext-depends": [ + "pdo", + "odbc" + ] + }, "pdo_pgsql": { "support": { "Windows": "wip", diff --git a/src/SPC/builder/extension/odbc.php b/src/SPC/builder/extension/odbc.php new file mode 100644 index 00000000..6234f4e8 --- /dev/null +++ b/src/SPC/builder/extension/odbc.php @@ -0,0 +1,17 @@ + '', - 'Windows' => 'mbstring,tokenizer,phar,curl,openssl', + 'Linux', 'Darwin' => 'odbc,pdo_odbc', + 'Windows' => 'odbc,pdo_odbc', }; // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).