# HG changeset patch # User "Yann E. MORIN" # Date 1216470346 0 # Node ID b8d87af4423255af72f52a28bdc409ce80d39e06 # Parent b2b6b1d46aa1f663b8dd664f56c10b3b433c3606 It's been a long time that the gcc libraries are all installed in the sys-root. Thus populate does not need to look above to find the libraries. /trunk/tools/populate.in | 9 3 6 0 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff -r b2b6b1d46aa1 -r b8d87af44232 tools/populate.in --- a/tools/populate.in Sat Jul 19 12:17:26 2008 +0000 +++ b/tools/populate.in Sat Jul 19 12:25:46 2008 +0000 @@ -99,17 +99,14 @@ ${CT_ECHO} " already present" continue fi - # Need to scan .. for libgcc_s et al. - for dir in . usr ..; do + for dir in . usr; do ${CT_ECHO} -n " trying in '${dir}'" - tgt_dir="${dir}" - [ "${tgt_dir}" = ".." ] && tgt_dir="usr" libfile="${CT_SYSROOT_DIR}/${dir}/lib/${libname}" ${CT_ECHO} ": '${libfile}'" if [ -e "${libfile}" ]; then mkdir -p "${dir}/lib" - ${CT_ECHO} " installing '${tgt_dir}/lib/${libname}'" - cp "${libfile}" "${tgt_dir}/lib/${libname}" + ${CT_ECHO} " installing '${dir}/lib/${libname}'" + cp "${libfile}" "${dir}/lib/${libname}" still_needed=1 break fi