diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-29 08:03:31 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-09-29 08:24:25 +0000 |
commit | 8f194132568163e2753e1878f7c8a0aa8a5f25a3 (patch) | |
tree | 6460a5a85217e85238b035a402898f947ec8bb91 /plan9/9front.patch | |
parent | f48aa24d4a3e93ace72b85f2af901c136ea3a77a (diff) | |
download | perl-8f194132568163e2753e1878f7c8a0aa8a5f25a3.tar.gz |
The Makefile must run makedef.pl with -Ilib on the command line
It can't rely on adding 'lib' to @INC in a BEGIN block because during the
build not all modules *are* in lib yet. For miniperl the two are not
equivalent - adding -Ilib means that lib/buildcustomize.pl is run, and this
sets up @INC properly to include all the toolchain modules in dist and cpan.
In particular, constant is dual life and hence not available as
lib/constant.pm until it has been copied from dist/constant/lib as part of
the build process. Hence with a parallel build on AIX, before this commit
there was a race condition between the job that builds dist/constant and the
job that builds perl.exp. Sometimes the race was lost, resulting in a
mysterious failed build.
All other users of makedef.pl already invoke it with the appropriate -Ilib
or -I..\lib, so this change won't affect them.
Diffstat (limited to 'plan9/9front.patch')
0 files changed, 0 insertions, 0 deletions