Skip to content

Commit

Permalink
util/add-depends.pl: go through shared_sources too
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from #7545)
  • Loading branch information
levitte committed Nov 7, 2018
1 parent 47d2080 commit 3866b22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/add-depends.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
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;

Expand Down

0 comments on commit 3866b22

Please sign in to comment.