Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For AIX, modify the perl.exp path in ccdlflags earlier in Makefile.SH
The config.sh value for ccdlflags includes the path to the *installed* copy of the file perl.exp While building, that file doesn't exist (or worse, is incompatible) so in the Makefile we need CCDLFLAGS to point to the local copy. Previously the Makefile had CCDLFLAGS first set to the value with the installed path, and then set it again to the local path "for building Perl itself". However, the Makefile is *only* used for building Perl itself (not installed extensions), hence we never need the first value. Hence move the sed logic for the change earlier, write out the first declaration of CCDLFLAGS with the "local" value, and eliminate the second declaration. The sed logic was added in July 1999 by commit 5f9d9a1: AIX magic: ccdlflags needs to be different for Perl itself and for extra-core extensions (as used by ExtUtilss::embed::ldopts). Based on the problems described in To: perl5-porters@perl.org Subject: [ID 19990722.002] Perl 5.00503 and AIX 4.1.5; perl.exp; build errors. Also Imagemagick... Reply-To: m.w.ellwood@rl.ac.uk Message-Id: <Pine.A41.3.96.990722141209.72660V-100000@unixfe.rl.ac.uk> It probably should have always been done the way this commit now does it.
- Loading branch information