This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fix biarch ld search paths
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Thu, 29 Jan 2004 00:10:56 +1030
- Subject: Re: fix biarch ld search paths
- References: <20040128133102.GA3076@bubble.modra.org>
On Thu, Jan 29, 2004 at 12:01:02AM +1030, Alan Modra wrote:
> * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
Oops, typo fix. Strange, bash didn't seem to mind.
Index: ld/genscripts.sh
===================================================================
RCS file: /cvs/src/src/ld/genscripts.sh,v
retrieving revision 1.17
diff -u -p -r1.17 genscripts.sh
--- ld/genscripts.sh 28 Jan 2004 13:31:30 -0000 1.17
+++ ld/genscripts.sh 28 Jan 2004 13:40:11 -0000
@@ -133,11 +133,11 @@ if [ "x${LIB_PATH}" = "x" ] && [ "x${USE
if [ "x${use_sysroot}" != "xyes" ] ; then
case " ${libs} " in
*" ${libdir} "*) ;;
- *) libs="${libdir} ${libs}"
+ *) libs="${libdir} ${libs}" ;;
esac
case " ${libs} " in
*" ${tool_lib} "*) ;;
- *) libs="${tool_lib} ${libs}"
+ *) libs="${tool_lib} ${libs}" ;;
esac
fi
--
Alan Modra
IBM OzLabs - Linux Technology Centre