binutils: fix multilib build.

This commit is contained in:
Juan RP 2010-05-21 01:14:19 +02:00
parent f6b57540bd
commit ab414bd504

View file

@ -40,4 +40,10 @@ post_install()
# Remove info file that conflicts with autoconf.
rm -f ${DESTDIR}/usr/share/info/standards.info
rm -f ${DESTDIR}/usr/lib64
# Fix for multilib builds.
if [ -d ${DESTDIR}/usr/lib32 ]; then
mv ${DESTDIR}/usr/lib32/* ${DESTDIR}/usr/lib || return 1
rmdir ${DESTDIR}/usr/lib32
fi
}