summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/Safe/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Safe/Makefile.PL b/dist/Safe/Makefile.PL
index 0463e9c7db..abde68152f 100644
--- a/dist/Safe/Makefile.PL
+++ b/dist/Safe/Makefile.PL
@@ -5,6 +5,6 @@ my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV;
WriteMakefile(
NAME => 'Safe',
VERSION_FROM => 'Safe.pm',
- INSTALLDIRS => 'perl',
+ INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
($core || $] >= 5.011) ? () : (INST_LIB => '$(INST_ARCHLIB)'),
);