Commit | Line | Data |
---|---|---|
7d1d1f86 RGS |
1 | use ExtUtils::MakeMaker; |
2 | ||
7fd9b275 RGS |
3 | my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV; |
4 | ||
7d1d1f86 RGS |
5 | WriteMakefile( |
6 | NAME => 'Safe', | |
7 | VERSION_FROM => 'Safe.pm', | |
dd25434e | 8 | INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), |
7fd9b275 | 9 | ($core || $] >= 5.011) ? () : (INST_LIB => '$(INST_ARCHLIB)'), |
7d1d1f86 | 10 | ); |