mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
array_reverse again
This commit is contained in:
parent
7b07137b5b
commit
5c9a3e236b
@ -738,8 +738,8 @@
|
|||||||
"openssl": {
|
"openssl": {
|
||||||
"source": "openssl",
|
"source": "openssl",
|
||||||
"static-libs-unix": [
|
"static-libs-unix": [
|
||||||
"libcrypto.a",
|
"libssl.a",
|
||||||
"libssl.a"
|
"libcrypto.a"
|
||||||
],
|
],
|
||||||
"static-libs-windows": [
|
"static-libs-windows": [
|
||||||
"libssl.lib",
|
"libssl.lib",
|
||||||
|
|||||||
@ -183,7 +183,7 @@ class SPCConfigUtil
|
|||||||
$lib_names = [...$lib_names, ...$pc_libs];
|
$lib_names = [...$lib_names, ...$pc_libs];
|
||||||
}
|
}
|
||||||
// convert all static-libs to short names
|
// 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) {
|
foreach ($libs as $lib) {
|
||||||
// check file existence
|
// check file existence
|
||||||
if (!file_exists(BUILD_LIB_PATH . "/{$lib}")) {
|
if (!file_exists(BUILD_LIB_PATH . "/{$lib}")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user