lib-suggests: ldap was missing for curl

This commit is contained in:
DubbleClick 2025-07-23 13:16:23 +07:00
parent 42e2f6a89d
commit 4c56c96326
2 changed files with 4 additions and 2 deletions

View File

@ -89,7 +89,8 @@
"nghttp3",
"ngtcp2",
"zstd",
"libcares"
"libcares",
"ldap"
],
"lib-suggests-windows": [
"brotli",

View File

@ -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