X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7ab9cef7c6581c43c665a52f477675d00628fd3b;hb=3790e928b4bd943715ef246f1b447190c3d162e1;hp=84887e149e770476d4fc6a53878d867385c0be2d;hpb=8801e4f573446f7dcdcc4320f926872074484b44;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/Makefile.PL b/Makefile.PL index 84887e1..7ab9cef 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,15 +6,16 @@ require 5.006000; use ExtUtils::MakeMaker; WriteMakefile( - NAME => 'Devel::GlobalDestruction', - VERSION_FROM => 'lib/Devel/GlobalDestruction.pm', - INSTALLDIRS => 'site', - SIGN => 1, - PL_FILES => { }, + NAME => 'Devel::GlobalDestruction', + VERSION_FROM => 'lib/Devel/GlobalDestruction.pm', + INSTALLDIRS => 'site', + SIGN => 1, + PL_FILES => { }, MIN_PERL_VERSION => '5.006000', - PREREQ_PM => { - 'Sub::Exporter' => 0, - 'Scope::Guard' => 0, - }, + PREREQ_PM => { + 'Sub::Exporter' => 0, + 'Scope::Guard' => 0, + }, + ($] >= 5.013007 ? (XS => {}, C => []) : ()), );