mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
test
This commit is contained in:
parent
901da8fa41
commit
ef4b2997a7
@ -31,10 +31,11 @@ trait unixodbc
|
|||||||
'--enable-gui=no',
|
'--enable-gui=no',
|
||||||
)
|
)
|
||||||
->make();
|
->make();
|
||||||
$this->patchPkgconfPrefix(['odbc.pc', 'odbccr.pc', 'odbcinst.pc']);
|
$pkgConfigs = ['odbc.pc', 'odbccr.pc', 'odbcinst.pc'];
|
||||||
foreach (['odbc.pc', 'odbccr.pc', 'odbcinst.pc'] as $file) {
|
$this->patchPkgconfPrefix($pkgConfigs);
|
||||||
|
foreach ($pkgConfigs as $file) {
|
||||||
FileSystem::replaceFileStr(
|
FileSystem::replaceFileStr(
|
||||||
BUILD_LIB_PATH . "/pkgconfig/{$file}.pc",
|
BUILD_LIB_PATH . "/pkgconfig/{$file}",
|
||||||
'$(top_build_prefix)libltdl/libltdlc.la',
|
'$(top_build_prefix)libltdl/libltdlc.la',
|
||||||
'');
|
'');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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`).
|
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
|
||||||
$extensions = match (PHP_OS_FAMILY) {
|
$extensions = match (PHP_OS_FAMILY) {
|
||||||
'Linux', 'Darwin' => 'grpc',
|
'Linux', 'Darwin' => 'pdo_odbc',
|
||||||
'Windows' => 'com_dotnet',
|
'Windows' => 'com_dotnet',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user