# HG changeset patch # User "Yann E. MORIN" # Date 1302819762 -7200 # Node ID 751c3f735ada4a95aa981841b832adb08b88ce27 # Parent 0e8ff57073838afea8830fe09d1d01cdf7cb37d8 scripts/internals: do not remove lib{32,64}/ symlinks after build During the build, we create lib{32,64}/ symlinks out of the sysroot. In some cases (eg. mingw32 target), these symlinks are still required when running the toolchain. For other combinations, the symlinks are without incidence, so they can be safely kept after the build. Signed-off-by: "Yann E. MORIN" diff -r 0e8ff5707383 -r 751c3f735ada scripts/build/internals.sh --- a/scripts/build/internals.sh Sun Jul 10 00:02:05 2011 +0200 +++ b/scripts/build/internals.sh Fri Apr 15 00:22:42 2011 +0200 @@ -114,18 +114,8 @@ # The symlinks are needed only during the build process. # The final gcc will still search those dirs, but will also search # the standard lib/ dirs, so we can get rid of the symlinks - for d in \ - "${CT_PREFIX_DIR}" \ - "${CT_PREFIX_DIR}/${CT_TARGET}" \ - ; do - CT_DoExecLog ALL rm -f "${d}/lib32" - CT_DoExecLog ALL rm -f "${d}/lib64" - done - - # Also remove the lib/ symlink out-side of sysroot - if [ "${CT_USE_SYSROOT}" = "y" ]; then - CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/${CT_TARGET}/lib" - fi + CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib32" + CT_DoExecLog ALL rm -f "${CT_PREFIX_DIR}/lib64" CT_EndStep }