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