diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-07-19 12:25:46 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-07-19 12:25:46 +0000 |
commit | 159635c7d6b328889e11d195e2988786e408737a (patch) | |
tree | 9462d860aa5ec3faff159881c6a18de9677a8dc0 | |
parent | 907141d9534f43018c5288d20dea785b2cc299ff (diff) | |
download | crosstool-ng-159635c7d6b328889e11d195e2988786e408737a.tar.gz crosstool-ng-159635c7d6b328889e11d195e2988786e408737a.tar.bz2 crosstool-ng-159635c7d6b328889e11d195e2988786e408737a.zip |
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(-)
-rw-r--r-- | tools/populate.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/populate.in b/tools/populate.in index c21248b0..7c27f391 100644 --- a/tools/populate.in +++ b/tools/populate.in @@ -99,17 +99,14 @@ while [ ${still_needed} -eq 1 ]; do ${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 |