binutils: fix multilib build.
This commit is contained in:
parent
f6b57540bd
commit
ab414bd504
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue