Permalink
Browse files

Basic support for PERL6LIB.

  • Loading branch information...
1 parent 7c7c2ff commit ae1f8dc5404f0afa394e88ee5cf91295138dfa23 @colomon colomon committed Jun 3, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/niecza
View
@@ -80,6 +80,12 @@ my $runobj = Q:CgOp { (box Str (cb_get_basedir)) };
my $basedir = $runobj.IO.append("..").realpath;
my @lib = $basedir.append("lib"), ".".IO.realpath, (Q:CgOp { (sysquery (i 7)) } ~ "/niecza").IO.realpath;
+if %*ENV<PERL6LIB> {
+ for %*ENV<PERL6LIB>.split(/':' | ';'/) -> $path {
+ @lib.push: $path.IO.realpath;
+ }
+}
+
my $lang = "CORE";
my $safe = False;
my $bcnd = "dotnet";

0 comments on commit ae1f8dc

Please sign in to comment.