X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=ae92f146e1c6e011f54e0022b391de8fbfdb7ace;hb=b1bee216b13ba067c620587ce49899927e103970;hp=bbdc96ad19fea271a47d933632d9190ba50acbb2;hpb=6f93d768566ef08e28e5b1b732a63c0e04dfbf68;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/Makefile.PL b/Makefile.PL index bbdc96a..ae92f14 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -26,6 +26,10 @@ my %META_BITS = ( ); my %RUN_DEPS = ( 'Sub::Exporter::Progressive' => 0.001002, + ( (defined ${^GLOBAL_PHASE} or !can_xs() ) + ? () + : ('Devel::GlobalDestruction::XS' => 0) + ), ); my %WriteMakefileArgs = ( @@ -46,10 +50,6 @@ my %WriteMakefileArgs = ( requires => \%RUN_DEPS, }, ($mymeta and !$mymeta_works) ? ( 'NO_MYMETA' => 1 ) : (), - ( (defined ${^GLOBAL_PHASE} or !can_xs() ) - ? (XS => {}, C => []) - : () - ), ); unless ( eval { ExtUtils::MakeMaker->VERSION('6.56') } ) {