source: patches/binutils-2.15.91.0.1-genscripts-multilib_use_libpath.patch@ b67b7ca

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

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 898 bytes
RevLine 
[617118d]1--- binutils-2.15.91.0.1-ORIG/ld/genscripts.sh 2004-05-28 04:26:04.000000000 +1000
2+++ binutils-2.15.91.0.1/ld/genscripts.sh 2004-07-14 23:54:02.000000000 +1000
3@@ -105,6 +105,8 @@
4 USE_LIBPATH=yes
5 elif [ "x${use_sysroot}" = "xyes" ] ; then
6 USE_LIBPATH=yes
7+ elif [ "x${LIB_PATH}" != "x" ] ; then
8+ USE_LIBPATH=yes
9 fi
10 ;;
11 esac
12@@ -125,11 +127,15 @@
13 #
14 # If the emulparams file set LIBPATH_SUFFIX, prepend an extra copy of
15 # the library path with the suffix applied.
16-
17-if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then
18+if [ "x${USE_LIBPATH}" = xyes ] ; then
19 LIB_PATH2=
20+ if [ "x${LIB_PATH}" = "x" ] ; then
21+ libs="${NATIVE_LIB_DIRS}"
22+ else
23+ libs=`echo ${LIB_PATH} | sed 's/:/ /g'`
24+ LIB_PATH=
25+ fi
26
27- libs=${NATIVE_LIB_DIRS}
28 if [ "x${use_sysroot}" != "xyes" ] ; then
29 case " ${libs} " in
30 *" ${libdir} "*) ;;
Note: See TracBrowser for help on using the repository browser.