mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +08:00
lib-suggests: ldap was missing for curl
This commit is contained in:
@@ -89,7 +89,8 @@
|
|||||||
"nghttp3",
|
"nghttp3",
|
||||||
"ngtcp2",
|
"ngtcp2",
|
||||||
"zstd",
|
"zstd",
|
||||||
"libcares"
|
"libcares",
|
||||||
|
"ldap"
|
||||||
],
|
],
|
||||||
"lib-suggests-windows": [
|
"lib-suggests-windows": [
|
||||||
"brotli",
|
"brotli",
|
||||||
|
|||||||
@@ -183,13 +183,14 @@ class SPCConfigUtil
|
|||||||
}
|
}
|
||||||
$pkg_configs = implode(' ', $pkg_configs);
|
$pkg_configs = implode(' ', $pkg_configs);
|
||||||
if ($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));
|
$pc_libs = array_reverse(PkgConfigUtil::getLibsArray($pkg_configs));
|
||||||
$lib_names = [...$lib_names, ...$pc_libs];
|
$lib_names = [...$lib_names, ...$pc_libs];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// post-process
|
// 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);
|
$frameworks = array_unique($frameworks);
|
||||||
|
|
||||||
// process frameworks to short_name
|
// process frameworks to short_name
|
||||||
|
|||||||
Reference in New Issue
Block a user