diff -r 1dd56375ff9e -r 33f695f7773a scripts/crosstool.sh --- a/scripts/crosstool.sh Tue Nov 04 16:30:11 2008 +0000 +++ b/scripts/crosstool.sh Fri Nov 07 08:09:42 2008 +0000 @@ -267,13 +267,11 @@ # Now, in case we're 64 bits, just have lib64/ be a symlink to lib/ # so as to have all libraries in the same directory (we can do that # because we are *not* multilib). - case "${CT_TARGET}" in - powerpc64*|ppc64*|x86_64*) - ln -sf "lib" "${CT_SYSROOT_DIR}/lib64" - ln -sf "lib" "${CT_SYSROOT_DIR}/usr/lib64" - ln -sf "sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib64" - ;; - esac + if [ "${CT_ARCH_64}" = "y" ]; then + ln -sf "lib" "${CT_SYSROOT_DIR}/lib64" + ln -sf "lib" "${CT_SYSROOT_DIR}/usr/lib64" + ln -sf "sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib64" + fi # Canadian-cross are really picky on the way they are built. Tweak the values. CT_UNIQ_BUILD=$(echo "${CT_BUILD}" |sed -r -e 's/-/-build_/')