summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-08-22 11:48:29 +0200
committerNicholas Clark <nick@ccl4.org>2013-08-24 17:50:27 +0200
commit4d106cc5d8fd328d39b1db3c57572dd3dec915b5 (patch)
tree3f367314cdb84779f70994243c0adb95f058b979 /ext
parentf2047bf1d09481734b45bedab1675f6f7b8d6de1 (diff)
downloadperl-4d106cc5d8fd328d39b1db3c57572dd3dec915b5.tar.gz
For SDBM_File, stop EU::MM from generating its default subdirs rule.
The default subdirs rule creates a race condition with the rule that Makefile.PL explicitly adds to generate libsdbm.a, which can cause parallel makes to fail.
Diffstat (limited to 'ext')
-rw-r--r--ext/SDBM_File/Makefile.PL6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/SDBM_File/Makefile.PL b/ext/SDBM_File/Makefile.PL
index fa16a79160..b96b80bfb8 100644
--- a/ext/SDBM_File/Makefile.PL
+++ b/ext/SDBM_File/Makefile.PL
@@ -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) {