cross-x86_64-linux-musl: clean up libdir handling
This commit is contained in:
parent
7629168114
commit
54918ab20e
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue