source: scripts/patches/db-4.2.52-libtool_fixes.patch@ ec96aa6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since ec96aa6 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
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  
    56575657  echo $ECHO_N "(cached) $ECHO_C" >&6
    56585658else
    56595659  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    5660 case `"$LD" -v 2>&1 </dev/null` in
     5660case `$LD -v 2>&1 </dev/null` in
    56615661*GNU* | *'with BFD'*)
    56625662  lt_cv_prog_gnu_ld=yes
    56635663  ;;
     
    1113511135  echo $ECHO_N "(cached) $ECHO_C" >&6
    1113611136else
    1113711137  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    11138 case `"$LD" -v 2>&1 </dev/null` in
     11138case `$LD -v 2>&1 </dev/null` in
    1113911139*GNU* | *'with BFD'*)
    1114011140  lt_cv_prog_gnu_ld=yes
    1114111141  ;;
Note: See TracBrowser for help on using the repository browser.