fix openssl build with corrupted pkg-config file (#406)

* fix openssl build with corrupted pkg-config file

* add test

* fix linux openssl

* add exec exit error counter for postgresql
This commit is contained in:
Jerry Ma
2024-04-12 00:49:15 +08:00
committed by GitHub
parent c77dc1af6c
commit 99aadd3e73
4 changed files with 32 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ declare(strict_types=1);
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'ds,simdjson',
'Linux', 'Darwin' => 'pgsql,intl,xml,openssl',
'Windows' => 'mbstring,pdo_sqlite,mbregex,ffi,ds,simdjson',
};
@@ -27,7 +27,7 @@ $with_libs = match (PHP_OS_FAMILY) {
// You can use `common`, `bulk`, `minimal` or `none`.
// note: combination is only available for *nix platform. Windows must use `none` combination
$base_combination = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'common',
'Linux', 'Darwin' => 'minimal',
'Windows' => 'none',
};