Add several extensions and libs for windows

exts: bz2, sqlsrv, pdo_sqlsrv, yaml, zip, rar
libs: bzip2, libyaml, libzip, xz
This commit is contained in:
crazywhalecc
2024-06-30 00:12:39 +08:00
committed by Jerry Ma
parent a6236eb98c
commit 3100911802
11 changed files with 286 additions and 32 deletions

View File

@@ -521,7 +521,7 @@ class FileSystem
private static function emitSourceExtractHook(string $name): void
{
foreach ((self::$_extract_hook[$name] ?? []) as $hook) {
if ($hook() === true) {
if ($hook($name) === true) {
logger()->info('Patched source [' . $name . '] after extracted');
}
}