]> git.vpit.fr Git - perl/modules/Scalar-Vec-Util.git/blobdiff - Makefile.PL
Give an explicit value to dynamic_config
[perl/modules/Scalar-Vec-Util.git] / Makefile.PL
index ec065d3ef4a78ab5e5380ed44a08b1c3d5e7cab7..69b1bfeba7c9b3ef662c42f07d6c2b2037d4a9d0 100644 (file)
@@ -54,8 +54,7 @@ if (not is_little_endian()) {
 } else {
  print "Checking unit size in bits... ";
  my $align = $Config{alignbytes} || 1;
- my @bits = (8, 16, 32);
- push @bits, 64 unless $^O eq 'MSWin32';
+ my @bits = (8, 16, 32, 64);
  for my $bits (@bits) {
   my $size = $Config{"u${bits}size"};
   next unless $size;
@@ -86,6 +85,7 @@ my %META = (
   'ExtUtils::MakeMaker' => 0,
   'Test::More'          => 0,
  },
+ dynamic_config => 1,
  resources => {
   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
   homepage   => "http://search.cpan.org/dist/$dist/",
@@ -106,7 +106,8 @@ WriteMakefile(
     PREREQ_PM        => {
         'Exporter' => 0,
         'Carp'     => 0,
-        'XSLoader' => 0
+        'XSLoader' => 0,
+        'base'     => 0,
     },
     MIN_PERL_VERSION => 5.006,
     META_MERGE       => \%META,