This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #71076] sort with active sub (5.10 regression)
[perl5.git] / dist / threads / Makefile.PL
index b251797..cc70b65 100755 (executable)
@@ -80,7 +80,7 @@ WriteMakefile(
     'PM' => {
         'threads.pm'    => '$(INST_LIBDIR)/threads.pm',
     },
-    'INSTALLDIRS'       => 'perl',
+    'INSTALLDIRS'       => (($] < 5.011) ? 'perl' : 'site'),
 
     ((ExtUtils::MakeMaker->VERSION() lt '6.25') ?
         ('PL_FILES' => { })            : ()),