X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=blobdiff_plain;f=Makefile.PL;h=6604eb2fac086e1f4a3c8cf5531fdea9cc43ff2b;hp=7575db073d46ad9198f3d19eae47d640a4ad3325;hb=53699c992388febac03ba5b9b967e935bebafd17;hpb=6e5079df2185e33ef2b81de51f3c51ae26d1773d diff --git a/Makefile.PL b/Makefile.PL index 7575db0..6604eb2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,6 +3,7 @@ use warnings; use File::Spec; use Cwd; use vars qw($bootstrapping $bootstrapping_args); +use Config; my $cwd; BEGIN { @@ -37,7 +38,7 @@ DEATH local::lib->import(@args); - my @libs = map { "-I$_" } split ':', $ENV{PERL5LIB}; + my @libs = map { "-I$_" } split $Config{path_sep}, $ENV{PERL5LIB}; $bootstrapping_args = "@libs"; push(@ARGV,$ENV{PERL_MM_OPT}); push(@ARGV, @libs);