summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/001compile.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/001compile.t b/t/001compile.t
index 578be7450..a82b30a9e 100644
--- a/t/001compile.t
+++ b/t/001compile.t
@@ -48,7 +48,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`;