Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use CURLI on moar but not on jvm
This might be needed to have star-able release this month, though I hope
to get the jvm in shape so that this patch can be reverted.
  • Loading branch information
FROGGS committed May 19, 2015
1 parent ab4e189 commit 2d5b07c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/core/Inc.pm
Expand Up @@ -74,12 +74,13 @@ RAKUDO_MODULE_DEBUG("Init @INC with {specs}")
// (%ENV<HOMEDRIVE> // '') ~ (%ENV<HOMEPATH> // '') -> $home {
my $ver := nqp::p6box_s(nqp::atkey($compiler, 'version'));
my $path := "$home/.perl6/$ver";
#?if moar
@INC.push: "file#$path/lib", "inst#$path";
%CUSTOM_LIB<home> = "inst#$path";
}
}
@INC.push:
"file#$prefix/lib",
"file#$prefix/lib", # lib, nqp, Test and NativeCall
"file#$prefix/vendor/lib",
"file#$prefix/site/lib",
"inst#$prefix",
Expand All @@ -89,6 +90,21 @@ RAKUDO_MODULE_DEBUG("Init @INC with {specs}")
%CUSTOM_LIB<perl> = "inst#$prefix";
%CUSTOM_LIB<vendor> = "inst#$prefix/vendor";
%CUSTOM_LIB<site> = "inst#$prefix/site";
#?endif
#?if jvm
@INC.push: "file#$path/lib";
%CUSTOM_LIB<home> = "file#$path/lib";
}
}
@INC.push:
"file#$prefix/lib",
"file#$prefix/vendor/lib",
"file#$prefix/site/lib",

%CUSTOM_LIB<perl> = "file#$prefix/lib";
%CUSTOM_LIB<vendor> = "file#$prefix/vendor/lib";
%CUSTOM_LIB<site> = "file#$prefix/site/lib";
#?endif
}
}

Expand Down

0 comments on commit 2d5b07c

Please sign in to comment.