This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
For SDBM_File, stop EU::MM from generating its default subdirs rule.
[perl5.git] / ext / SDBM_File / Makefile.PL
index fa16a79..b96b80b 100644 (file)
@@ -23,6 +23,12 @@ WriteMakefile(
              PERL_MALLOC_OK => 1,
              );
 
+# We don't want the default subdir rule, as it creates a race condition with the
+# rule we add below.
+sub MY::subdir_x {
+    return '';
+}
+
 sub MY::postamble {
   if ($^O =~ /MSWin32/ && !defined($ENV{SYSTEMROOT})) {
        if ($Config{'make'} =~ /dmake/i) {