This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get rid of PERL_DECL_PROT
[perl5.git] / dist / threads-shared / Makefile.PL
index 05c7383..4413e8c 100755 (executable)
@@ -80,7 +80,7 @@ WriteMakefile(
     'PM' => {
         'shared.pm'     => '$(INST_LIBDIR)/shared.pm',
     },
-    'INSTALLDIRS'       => 'perl',
+    'INSTALLDIRS'       => (($] < 5.011) ? 'perl' : 'site'),
 
     ((ExtUtils::MakeMaker->VERSION() lt '6.25') ?
         ('PL_FILES' => { })            : ()),