cross-arm-linux-musleabi: clean up libdir handling

This commit is contained in:
q66 2020-12-23 23:35:42 +01:00
parent e6fea56007
commit 438a1e96ad

View file

@ -239,6 +239,8 @@ do_build() {
ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f}
fi
done
ln -sf lib ${_sysroot}/usr/lib32
ln -sf usr/lib ${_sysroot}/lib32
_binutils_build
_gcc_bootstrap
@ -258,6 +260,8 @@ do_install() {
${DESTDIR}/${_sysroot}/${f}
fi
done
ln -sf lib ${DESTDIR}/${_sysroot}/usr/lib32
ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib32
# install linux API headers
cd ${wrksrc}/linux-${_linux_version}