Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #542 from ugexe/patch-1
Allow CURLI loading of .pm extension modules
  • Loading branch information
lizmat committed Sep 28, 2015
2 parents e1cedd3 + f142d7d commit a41b719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CompUnitRepo/Local/Installation.pm
Expand Up @@ -202,7 +202,7 @@ See http://design.perl6.org/S22.html#provides for more information.\n";
unless $candi<provides>{$ln}{$type}<file> ~~ /^$path/
}
}
my $loader = $candi<provides>{$name}<pm6><file>;
my $loader = $candi<provides>{$name}<pm pm6>.first(*.so)<file>;
my $vers = Version.new($candi<provides>{$name}{$*VM.precomp-ext}<cver>);
if $*PERL<compiler>.version eqv $vers {
return CompUnit.new($loader, :has_precomp($candi<provides>{$name}{$*VM.precomp-ext}<file>));
Expand Down

0 comments on commit a41b719

Please sign in to comment.