glibc32: also fix libpthread.so.
This commit is contained in:
parent
a0432bffa5
commit
84df8f8e45
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue