cross-x86_64-linux-musl: clean up libdir handling

This commit is contained in:
q66 2020-12-24 00:04:41 +01:00
parent 7629168114
commit 54918ab20e

View file

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