diff --git a/src/SPC/builder/unix/library/unixodbc.php b/src/SPC/builder/unix/library/unixodbc.php index 41cc4cbe..3729a417 100644 --- a/src/SPC/builder/unix/library/unixodbc.php +++ b/src/SPC/builder/unix/library/unixodbc.php @@ -31,10 +31,11 @@ trait unixodbc '--enable-gui=no', ) ->make(); - $this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']); - foreach (['odbc.pc', 'odbccr.pc', 'odbcinst.pc'] as $file) { + $pkgConfigs = ['odbc.pc', 'odbccr.pc', 'odbcinst.pc']; + $this->patchPkgconfPrefix($pkgConfigs); + foreach ($pkgConfigs as $file) { FileSystem::replaceFileStr( - BUILD_LIB_PATH . "/pkgconfig/{$file}.pc", + BUILD_LIB_PATH . "/pkgconfig/{$file}", '$(top_build_prefix)libltdl/libltdlc.la', ''); } diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index bfae094a..46b7cb9d 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -50,7 +50,7 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'grpc', + 'Linux', 'Darwin' => 'pdo_odbc', 'Windows' => 'com_dotnet', };