Skip to content

Commit

Permalink
Configuration: only include shared_sources in dirinfo in shared config
Browse files Browse the repository at this point in the history
Without this precaution, we end up having directory targets depend on
shlib object files for which there are no rules.

Reviewed-by: Tim Hudson <[email protected]>
(Merged from openssl#7644)
  • Loading branch information
levitte committed Nov 15, 2018
1 parent c7af8b0 commit 856b1b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Configure
Original file line number Diff line number Diff line change
Expand Up @@ -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 { @_ };
Expand Down

0 comments on commit 856b1b6

Please sign in to comment.