summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-11-01 14:02:21 +0100
committerRichard Levitte <levitte@openssl.org>2018-11-07 14:40:02 +0100
commit4274ef97c1300d1924c537b7d4c91bb8494a5de2 (patch)
tree39d1582f34838ee90da96d396da36695fc44886b /util
parent7b7fdf8a791720f8d19276a9012b1248956e00e0 (diff)
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 3866b2247fb7904a4e660593a16365147f479415)
Diffstat (limited to 'util')
-rw-r--r--util/add-depends.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/add-depends.pl b/util/add-depends.pl
index deb0de238a..55d56b7613 100644
--- a/util/add-depends.pl
+++ b/util/add-depends.pl
@@ -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;