mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
Fix unique and reverse order
This commit is contained in:
@@ -55,7 +55,8 @@ class PkgConfigUtil
|
||||
}
|
||||
}
|
||||
|
||||
return array_unique($libs);
|
||||
// enhancement for linker
|
||||
return array_reverse(array_unique(array_reverse($libs)));
|
||||
}
|
||||
|
||||
private static function execWithResult(string $cmd): string
|
||||
|
||||
Reference in New Issue
Block a user