1.1 --- a/scripts/build/libc/glibc.sh Tue Nov 04 18:52:59 2008 +0000
1.2 +++ b/scripts/build/libc/glibc.sh Fri Nov 07 08:03:32 2008 +0000
1.3 @@ -479,11 +479,13 @@
1.4 #
1.5 # Remove lines containing BUG per http://sources.redhat.com/ml/bug-glibc/2003-05/msg00055.html,
1.6 # needed to fix gcc-3.2.3/glibc-2.3.2 targeting arm
1.7 + # No need to look into the lib64/ dirs here and there, they point to the
1.8 + # corresponding lib/ directories.
1.9 #
1.10 # To make "strip *.so.*" not fail (ptxdist does this), rename to .so_orig rather than .so.orig
1.11 CT_DoLog EXTRA "Fixing C library linker scripts"
1.12 for file in libc.so libpthread.so libgcc_s.so; do
1.13 - for dir in lib lib64 usr/lib usr/lib64; do
1.14 + for dir in lib usr/lib; do
1.15 if [ -f "${CT_SYSROOT_DIR}/${dir}/${file}" -a ! -L ${CT_SYSROOT_DIR}/$lib/$file ]; then
1.16 CT_DoExecLog ALL cp -v "${CT_SYSROOT_DIR}/${dir}/${file}" "${CT_SYSROOT_DIR}/${dir}/${file}_orig"
1.17 CT_DoLog DEBUG "Fixing '${CT_SYS_ROOT_DIR}/${dir}/${file}'"