mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 13:03:39 +08:00
util/add-depends.pl: sort the dependency files
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5617)
This commit is contained in:
parent
346149c164
commit
d35b2c7248
@ -15,6 +15,7 @@ my $buildfile = $config{build_file};
|
||||
my $buildfile_new = "$buildfile-$$";
|
||||
my $depext = $target{dep_extension} || ".d";
|
||||
my @deps =
|
||||
sort
|
||||
grep { -f $_ }
|
||||
map { (my $x = $_) =~ s|\.o$|$depext|; $x; }
|
||||
grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
|
||||
|
Loading…
Reference in New Issue
Block a user