fix biarch ld search paths

Alan Modra amodra@bigpond.net.au
Wed Jan 28 13:40:00 GMT 2004


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



More information about the Binutils mailing list