Commit 856b1b65 authored by Richard Levitte's avatar Richard Levitte
Browse files

Configuration: only include shared_sources in dirinfo in shared config



Without this precaution, we end up having directory targets depend on
shlib object files for which there are no rules.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7644)
parent c7af8b0a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2249,6 +2249,9 @@ EOF
                                           dst => 'sources' } }
               } -> {$prodtype};
            foreach my $kind (keys %$intent) {
                next if ($intent->{$kind}->{dst} eq 'shared_sources'
                             && $disabled{shared});

                my @src = @{$intent->{$kind}->{src}};
                my $dst = $intent->{$kind}->{dst};
                my $prodselect = $intent->{$kind}->{prodselect} // sub { @_ };