Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 237 Bytes
use ExtUtils::MakeMaker;
my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV;
WriteMakefile(
NAME => 'Safe',
VERSION_FROM => 'Safe.pm',
INSTALLDIRS => 'perl',
($core || $] >= 5.011) ? () : (INST_LIB => '$(INST_ARCHLIB)'),
);