fixes for more configure args

This commit is contained in:
DubbleClick
2025-05-21 14:10:56 +07:00
parent 495e868a71
commit 7698ceb108
12 changed files with 86 additions and 20 deletions

View File

@@ -12,6 +12,6 @@ class odbc extends Extension
{
public function getUnixConfigureArg(bool $shared = false): string
{
return '--with-unixODBC=' . BUILD_ROOT_PATH;
return '--with-unixODBC=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH;
}
}