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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d7f7ff5 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 898 bytes
  • binutils-2.15.91.0.

    old new  
    105105      USE_LIBPATH=yes
    106106    elif [ "x${use_sysroot}" = "xyes" ] ; then
    107107      USE_LIBPATH=yes
     108    elif [ "x${LIB_PATH}" != "x" ] ; then
     109      USE_LIBPATH=yes
    108110    fi
    109111    ;;
    110112esac
     
    125127#
    126128# If the emulparams file set LIBPATH_SUFFIX, prepend an extra copy of
    127129# the library path with the suffix applied.
    128 
    129 if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then
     130if [ "x${USE_LIBPATH}" = xyes ] ; then
    130131  LIB_PATH2=
     132  if [ "x${LIB_PATH}" = "x" ] ; then
     133    libs="${NATIVE_LIB_DIRS}"
     134  else
     135    libs=`echo ${LIB_PATH} | sed 's/:/ /g'`
     136    LIB_PATH=
     137  fi
    131138
    132   libs=${NATIVE_LIB_DIRS}
    133139  if [ "x${use_sysroot}" != "xyes" ] ; then
    134140    case " ${libs} " in
    135141      *" ${libdir} "*) ;;
Note: See TracBrowser for help on using the repository browser.