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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5bd60e2 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
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver AT pha.com.au>
2Date: 2004-10-24
3Initial Package Version: 4.2.52
4Origin: Ryan Oliver
5Description: This patch fixes issues with determining whether ld is gnu ld
6 on bi-arch systems (where an emulation type is also specified with LD)
7 For example, if LD="ld -m elf_x86_64", the checks will try to locate a
8 file with filename "ld -m elf_x86_64" (which does not exist) and will
9 conclude that gnu ld is not being used.
10 If gnu ld is not being used, libtool attempts to link libraries without
11 specifying -nostdlib, and the startfiles are linked in twice causing
12 duplicate _init and _fini errors.
13
14 See the following link at libtool-patches
15 http://lists.gnu.org/archive/html/libtool-patches/2003-06/msg00056.html
16
17--- db-4.2.52-ORIG/dist/configure 2003-12-04 08:10:02.000000000 +1100
18+++ db-4.2.52/dist/configure 2004-10-24 18:36:58.204928008 +1000
19@@ -5657,7 +5657,7 @@
20 echo $ECHO_N "(cached) $ECHO_C" >&6
21 else
22 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
23-case `"$LD" -v 2>&1 </dev/null` in
24+case `$LD -v 2>&1 </dev/null` in
25 *GNU* | *'with BFD'*)
26 lt_cv_prog_gnu_ld=yes
27 ;;
28@@ -11135,7 +11135,7 @@
29 echo $ECHO_N "(cached) $ECHO_C" >&6
30 else
31 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
32-case `"$LD" -v 2>&1 </dev/null` in
33+case `$LD -v 2>&1 </dev/null` in
34 *GNU* | *'with BFD'*)
35 lt_cv_prog_gnu_ld=yes
36 ;;
Note: See TracBrowser for help on using the repository browser.