From 3866b2247fb7904a4e660593a16365147f479415 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 1 Nov 2018 14:02:21 +0100 Subject: [PATCH] util/add-depends.pl: go through shared_sources too Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/7545) --- util/add-depends.pl | 6 ++++-- 1 file 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; -- 2.34.1