Skip to content

Commit

Permalink
refine $*CUSTOM-LIB
Browse files Browse the repository at this point in the history
panda wants a prefix below which it creates bin/ lib/ and panda/ dirs.
So now @*INC containts "$*CUSTOM-LIB/lib" by default
  • Loading branch information
moritz committed Oct 14, 2012
1 parent dfbfbb9 commit 8a07b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/terms.pm
Expand Up @@ -71,8 +71,8 @@ sub term:<time>() { nqp::p6box_i(nqp::time_i()) }
@INC.push((%ENV<HOME> // %ENV<HOMEDRIVE> ~ %ENV<HOMEPATH>) ~ '/.perl6/lib');
}
@INC.push($VM<config><libdir> ~ $VM<config><versiondir> ~ '/languages/perl6/lib');
my $CUSTOM-LIB = $VM<config><libdir> ~ $VM<config><versiondir> ~ '/languages/perl6/custom-lib';
@INC.push($CUSTOM-LIB);
my $CUSTOM-LIB = $VM<config><libdir> ~ $VM<config><versiondir> ~ '/languages/perl6/custom';
@INC.push($CUSTOM-LIB ~ '/lib');
nqp::bindkey(pir::get_who__PP(PROCESS), '$CUSTOM-LIB', $CUSTOM-LIB);

my $I := nqp::atkey(nqp::atkey(%*COMPILING, '%?OPTIONS'), 'I');
Expand Down

0 comments on commit 8a07b84

Please sign in to comment.