Skip to content

Commit 08d42fc

Browse files
skajiLeont
authored andcommitted
Skip compiling c_source when pureperl_only and allow_pureperl are configured
1 parent e121ceb commit 08d42fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Module/Build/Base.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2865,6 +2865,7 @@ sub process_support_files {
28652865
my $self = shift;
28662866
my $p = $self->{properties};
28672867
return unless $p->{c_source};
2868+
return if $self->pureperl_only && $self->allow_pureperl;
28682869

28692870
my $files;
28702871
if (ref($p->{c_source}) eq "ARRAY") {

0 commit comments

Comments
 (0)