diff options
-rw-r--r-- | dist.ini | 1 | ||||
-rw-r--r-- | inc/MMPackageStash.pm | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -22,6 +22,7 @@ PodWeaver_finder = WeaverFinder skip = Variable::Magic [Prereqs / RuntimeRecommends] +; XXX keep this in sync with inc/MMPackageStash.pm Package::Stash::XS = 0.26 [Prereqs / DevelopRequires] diff --git a/inc/MMPackageStash.pm b/inc/MMPackageStash.pm index 0c82483..7e27961 100644 --- a/inc/MMPackageStash.pm +++ b/inc/MMPackageStash.pm @@ -8,7 +8,8 @@ around _build_MakeFile_PL_template => sub { my $orig = shift; my $self = shift; - my $xs_version = $self->zilla->prereqs->requirements_for('runtime', 'recommends')->as_string_hash->{'Package::Stash::XS'}; + # XXX keep this in sync with dist.ini + my $xs_version = 0.26; # can_run and can_cc copied from M::I my $helpers = <<'HELPERS'; |