Fix gmssl and openssl duplicate symbol (#632)

* Fix gmssl and openssl duplicate symbol

* Add tests
This commit is contained in:
Jerry Ma
2025-03-13 14:18:27 +08:00
committed by GitHub
parent 21265cd561
commit c6d4934dd6
3 changed files with 10 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ $test_os = [
];
// whether enable thread safe
$zts = true;
$zts = false;
$no_strip = false;
@@ -40,7 +40,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' => 'apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,ftp,gd,gmp,gettext,iconv,igbinary,imagick,intl,ldap,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,parallel,pcntl,pdo,pdo_mysql,pdo_pgsql,pdo_sqlite,pgsql,phar,posix,protobuf,readline,redis,session,shmop,simplexml,soap,sockets,sodium,sqlite3,ssh2,sysvmsg,sysvsem,sysvshm,tidy,tokenizer,xlswriter,xml,xmlreader,xmlwriter,zip,zlib,yaml,zstd',
'Linux', 'Darwin' => 'openssl,gmssl',
'Windows' => 'gettext',
};