Add extension swow for Windows

This commit is contained in:
crazywhalecc 2024-06-30 00:55:43 +08:00 committed by Jerry Ma
parent a1f632e8c9
commit 334a3bdf5d
3 changed files with 2 additions and 4 deletions

View File

@ -733,7 +733,6 @@
},
"swow": {
"support": {
"Windows": "wip",
"BSD": "wip"
},
"notes": true,
@ -932,7 +931,6 @@
},
"zip": {
"support": {
"Windows": "wip",
"BSD": "wip"
},
"type": "builtin",

View File

@ -18,7 +18,7 @@ class swow extends Extension
}
}
public function getUnixConfigureArg(): string
public function getConfigureArg(): string
{
$arg = '--enable-swow';
$arg .= $this->builder->getLib('openssl') ? ' --enable-swow-ssl' : ' --disable-swow-ssl';

View File

@ -20,7 +20,7 @@ $upx = true;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'sockets',
'Windows' => 'mbstring,pdo_sqlite,mbregex,bz2,sqlsrv,pdo_sqlsrv,yaml,zip,rar,apcu',
'Windows' => 'mbstring,pdo_sqlite,mbregex,bz2,sqlsrv,pdo_sqlsrv,yaml,zip,rar,apcu,swow',
};
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).