This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] 2/4 Lib path suffix fix
- From: Alex Bennee <kernel-hacker at bennee dot com>
- To: binutils at sourceware dot org
- Date: Mon, 19 Mar 2007 20:08:41 +0000
- Subject: Re: [PATCH] 2/4 Lib path suffix fix
- References: <1174334125.21350.84.camel@okra.transitives.com>
From: Alex Bennee
Date: Fri, 16 Mar 2007 15:54:43 +0000
Subject: [PATCH] Ensure we apply the correct suffix to the lib path for
64 bits libs
---
ld/emulparams/elf_x86_64.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ld/emulparams/elf_x86_64.sh b/ld/emulparams/elf_x86_64.sh
index 35240df..dd443f0 100644
--- a/ld/emulparams/elf_x86_64.sh
+++ b/ld/emulparams/elf_x86_64.sh
@@ -24,10 +24,15 @@ fi
# Linux modify the default library search path to first include
# a 64-bit specific directory.
+#
+# Solaris has a 64bit library directory in /lib/amd64
case "$target" in
x86_64*-linux*)
case "$EMULATION_NAME" in
*64*) LIBPATH_SUFFIX=64 ;;
esac
;;
+ i[3-7]86-*-solaris2*)
+ LIBPATH_SUFFIX=/amd64
+ ;;
esac
--
1.4.3.4
--
Alex, homepage: http://www.bennee.com/~alex/
Command, n.: Statement presented by a human and accepted by a computer
in such a manner as to make the human feel as if he is in control.