In perl.git, the branch smoke-me/no-LDLIBPTH-for-CC has been created
<http://perl5.git.perl.org/perl.git/commitdiff/89f50416b01f94315005f1ebcc8b90029bc0a16d?hp=0000000000000000000000000000000000000000>
at 89f50416b01f94315005f1ebcc8b90029bc0a16d (commit)
- Log -----------------------------------------------------------------
commit 89f50416b01f94315005f1ebcc8b90029bc0a16d
Author: Nicholas Clark <[email protected]>
Date: Fri Apr 27 17:56:34 2012 +0200
XXX fix this commit message
No need to prefix the $(CC) invocation that links miniperl with $(LDLIBPTH).
$(LDLIBPTH) is used to prefix the appropriate LD_LIBRARY_PATH=... before
commands in the Makefile when perl is build with a shared perl library so
that the uninstalled ./perl will be able to find it.
Commit c4f23d77f4b3486a (in May 1998) added the code for LDLIBPTH, but
also added it to the default command line used to invoke $(CC) to link
miniperl. This command doesn't need to run ./perl, hence the use of
$(LDLIBPTH) is superfluous here. Removing it makes the code simpler.
-----------------------------------------------------------------------
--
Perl5 Master Repository