]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - Makefile.PL
Give an explicit value to dynamic_config
[perl/modules/indirect.git] / Makefile.PL
index b9279479f76f2c58a499ee650198e5bed62e5b5a..527cc354b68f6c3d03a7a7f069ab4c2d2f17af2c 100644 (file)
@@ -11,6 +11,11 @@ if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
  push @DEFINES, '-DI_MULTIPLICITY=0';
 }
 
+# Fork emulation got "fixed" in 5.10.1
+if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
+ push @DEFINES, '-DI_FORKSAFE=0';
+}
+
 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
 
 my $dist = 'indirect';
@@ -23,6 +28,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/",