Skip to content

Commit 113b950

Browse files
committed
Allow parallel builds to work.
If the .so doesn't get built before we invoke the PL scripts, they may find an older version elsewhere in the path and fail with a "does not match bootstrap parameter" error. Thus, make a dependency so we don't run those PL scripts until we have the new .so ready. Fixes #62
1 parent 718a101 commit 113b950

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Makefile.PL

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,4 +386,10 @@ tgzdist: changes spellcheck newdist dist
386386
return $xst;
387387
} # post_constants
388388

389+
sub processPL {
390+
my $super = shift->SUPER::processPL (@_);
391+
$super =~ s/^(dbi\w+ :: dbi\w+\.PL pm_to_blib)/$1 \$(INST_DYNAMIC)/gm;
392+
return $super;
393+
}
394+
389395
1;

0 commit comments

Comments
 (0)