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

This commit is contained in:
q66 2020-12-23 23:36:50 +01:00
parent 438a1e96ad
commit db3bee8893

View file

@ -238,6 +238,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
@ -257,6 +259,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}