diff options
Diffstat (limited to 't')
-rw-r--r-- | t/001compile.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/001compile.t b/t/001compile.t index 9e63da0b4..97a339b2d 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -62,7 +62,7 @@ sub compile_file { my $libs = ''; if ($ENV{PERL5LIB}) { - $libs = join " ", map { "-I$_" } split /$Config{path_sep}/, $ENV{PERL5LIB}; + $libs = join " ", map { "-I\"$_\"" } split /$Config{path_sep}/, $ENV{PERL5LIB}; } my $perl = qq{"$^X"}; my $output = `$perl $libs -wc$T $file 2>&1`; |