glibc32: also fix libpthread.so.

This commit is contained in:
Juan RP 2010-05-15 18:38:30 +02:00
parent a0432bffa5
commit 84df8f8e45
1 changed files with 5 additions and 2 deletions

View File

@ -58,6 +58,9 @@ do_install()
chmod 644 ${DESTDIR}/etc/ld.so.conf.d/glibc32.conf \
&& ldconfig || return 1
# Fix libc.so to find stuff in lib32 dirs.
sed -i -e "s|/lib/|/lib32/|g" ${DESTDIR}/usr/lib32/libc.so || return 1
# Fix some .so files to find stuff in lib32 dirs.
for f in libc libpthread; do
sed -i -e "s|/lib/|/lib32/|g" \
${DESTDIR}/usr/lib32/${f}.so || return 1
done
}