source:
scripts/patches/db-4.2.52-libtool_fixes.patch@
7efeff4
Last change on this file since 7efeff4 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.4 KB |
-
dist/configure
Submitted By: Ryan Oliver <ryan.oliver AT pha.com.au> Date: 2004-10-24 Initial Package Version: 4.2.52 Origin: Ryan Oliver Description: This patch fixes issues with determining whether ld is gnu ld on bi-arch systems (where an emulation type is also specified with LD) For example, if LD="ld -m elf_x86_64", the checks will try to locate a file with filename "ld -m elf_x86_64" (which does not exist) and will conclude that gnu ld is not being used. If gnu ld is not being used, libtool attempts to link libraries without specifying -nostdlib, and the startfiles are linked in twice causing duplicate _init and _fini errors. See the following link at libtool-patches http://lists.gnu.org/archive/html/libtool-patches/2003-06/msg00056.html
old new 5657 5657 echo $ECHO_N "(cached) $ECHO_C" >&6 5658 5658 else 5659 5659 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 5660 case ` "$LD"-v 2>&1 </dev/null` in5660 case `$LD -v 2>&1 </dev/null` in 5661 5661 *GNU* | *'with BFD'*) 5662 5662 lt_cv_prog_gnu_ld=yes 5663 5663 ;; … … 11135 11135 echo $ECHO_N "(cached) $ECHO_C" >&6 11136 11136 else 11137 11137 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 11138 case ` "$LD"-v 2>&1 </dev/null` in11138 case `$LD -v 2>&1 </dev/null` in 11139 11139 *GNU* | *'with BFD'*) 11140 11140 lt_cv_prog_gnu_ld=yes 11141 11141 ;;
Note:
See TracBrowser
for help on using the repository browser.