mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
lib-suggests: ldap was missing for curl
This commit is contained in:
parent
42e2f6a89d
commit
4c56c96326
@ -89,7 +89,8 @@
|
||||
"nghttp3",
|
||||
"ngtcp2",
|
||||
"zstd",
|
||||
"libcares"
|
||||
"libcares",
|
||||
"ldap"
|
||||
],
|
||||
"lib-suggests-windows": [
|
||||
"brotli",
|
||||
|
||||
@ -183,13 +183,14 @@ class SPCConfigUtil
|
||||
}
|
||||
$pkg_configs = implode(' ', $pkg_configs);
|
||||
if ($pkg_configs !== '') {
|
||||
// static libs with dependencies come in reverse order, so reverse this too
|
||||
$pc_libs = array_reverse(PkgConfigUtil::getLibsArray($pkg_configs));
|
||||
$lib_names = [...$lib_names, ...$pc_libs];
|
||||
}
|
||||
}
|
||||
|
||||
// post-process
|
||||
$lib_names = array_unique(array_reverse(array_filter($lib_names, fn ($x) => $x !== '')));
|
||||
$lib_names = array_reverse(array_unique(array_filter($lib_names, fn ($x) => $x !== '')));
|
||||
$frameworks = array_unique($frameworks);
|
||||
|
||||
// process frameworks to short_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user