array_reverse again

This commit is contained in:
DubbleClick 2025-07-24 21:29:34 +07:00
parent 7b07137b5b
commit 5c9a3e236b
2 changed files with 3 additions and 3 deletions

View File

@ -738,8 +738,8 @@
"openssl": {
"source": "openssl",
"static-libs-unix": [
"libcrypto.a",
"libssl.a"
"libssl.a",
"libcrypto.a"
],
"static-libs-windows": [
"libssl.lib",

View File

@ -183,7 +183,7 @@ class SPCConfigUtil
$lib_names = [...$lib_names, ...$pc_libs];
}
// convert all static-libs to short names
$libs = Config::getLib($library, 'static-libs', []);
$libs = array_reverse(Config::getLib($library, 'static-libs', []));
foreach ($libs as $lib) {
// check file existence
if (!file_exists(BUILD_LIB_PATH . "/{$lib}")) {