Skip to content

Commit

Permalink
Allow CURLI loading of .pm extension modules
Browse files Browse the repository at this point in the history
CURLI currently writes the manifest such that it may use 'pm' *or* 'pm6' as the key
  • Loading branch information
ugexe committed Sep 28, 2015
1 parent e1cedd3 commit f142d7d
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 f142d7d

Please sign in to comment.