mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Fix unique and reverse order
This commit is contained in:
parent
a88f9933d2
commit
4cdafe2497
@ -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
|
private static function execWithResult(string $cmd): string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user