util/add-depends.pl: go through shared_sources too
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7545)
(cherry picked from commit 3866b2247f
)
This commit is contained in:
parent
7b7fdf8a79
commit
4274ef97c1
1 changed files with 4 additions and 2 deletions
|
@ -36,8 +36,10 @@ my @depfiles =
|
|||
scalar @st > 0; # Determines the grep result
|
||||
}
|
||||
map { (my $x = $_) =~ s|\.o$|$depext|; $x; }
|
||||
grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
|
||||
keys %{$unified_info{sources}};
|
||||
( ( grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
|
||||
keys %{$unified_info{sources}} ),
|
||||
( grep { $unified_info{shared_sources}->{$_}->[0] =~ /\.cc?$/ }
|
||||
keys %{$unified_info{shared_sources}} ) );
|
||||
|
||||
exit 0 unless $rebuild;
|
||||
|
||||
|
|
Loading…
Reference in a new issue