Skip to content

Commit ef4b299

Browse files
committed
test
1 parent 901da8f commit ef4b299

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/SPC/builder/unix/library/unixodbc.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ protected function build(): void
3131
'--enable-gui=no',
3232
)
3333
->make();
34-
$this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']);
35-
foreach (['odbc.pc', 'odbccr.pc', 'odbcinst.pc'] as $file) {
34+
$pkgConfigs = ['odbc.pc', 'odbccr.pc', 'odbcinst.pc'];
35+
$this->patchPkgconfPrefix($pkgConfigs);
36+
foreach ($pkgConfigs as $file) {
3637
FileSystem::replaceFileStr(
37-
BUILD_LIB_PATH . "/pkgconfig/{$file}.pc",
38+
BUILD_LIB_PATH . "/pkgconfig/{$file}",
3839
'$(top_build_prefix)libltdl/libltdlc.la',
3940
'');
4041
}

src/globals/test-extensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'grpc',
53+
'Linux', 'Darwin' => 'pdo_odbc',
5454
'Windows' => 'com_dotnet',
5555
};
5656

0 commit comments

Comments
 (0)