about summary refs log tree commit
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 57a8581..f460826 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -89,6 +89,7 @@ if ($] >= 5.00503) {
 }
 
 WriteMakefile(
+  INSTALLDIRS => ($] >= 5.008 ? 'perl' : 'site'),
   VERSION     => $VERSION,
   DISTNAME    => $DISTNAME,
   NAME        => $NAME,