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:38:20 +0100
commit3866b2247fb7904a4e660593a16365147f479415 (patch)
treee6e91f5095d10fae0dcaa1af2732e995c38f6d5a /util
parentRemove outdated e_chil.txt file (diff)
downloadopenssl-3866b2247fb7904a4e660593a16365147f479415.tar.xz
openssl-3866b2247fb7904a4e660593a16365147f479415.zip
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)
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;