We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0801aa8 commit d97b0eeCopy full SHA for d97b0ee
bin/lcov
@@ -861,7 +861,11 @@ sub lcov_geninfo(@)
861
push(@param, "--build-directory", $b);
862
}
863
foreach my $s (@ReadCurrentSource::source_directories) {
864
- push(@param, "--source-directory", $s);
+ # a bit of a hack: we pushed the --base-directory argument onto
865
+ # the source list - and we need to make sure that we only pass
866
+ # it to geninfo once.
867
+ push(@param, "--source-directory", $s)
868
+ unless (defined($base_directory) && $s eq $base_directory);
869
870
if ($no_compat_libtool) {
871
push(@param, "--no-compat-libtool");
0 commit comments