cross-i686-linux-musl: clean up libdir handling
This commit is contained in:
parent
dc7496af98
commit
80a38beb2e
|
@ -237,6 +237,8 @@ do_build() {
|
||||||
ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f}
|
ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
ln -sf lib ${_sysroot}/usr/lib32
|
||||||
|
ln -sf usr/lib ${_sysroot}/lib32
|
||||||
|
|
||||||
_binutils_build
|
_binutils_build
|
||||||
_gcc_bootstrap
|
_gcc_bootstrap
|
||||||
|
@ -256,6 +258,8 @@ do_install() {
|
||||||
${DESTDIR}/${_sysroot}/${f}
|
${DESTDIR}/${_sysroot}/${f}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
ln -sf lib ${DESTDIR}/${_sysroot}/usr/lib32
|
||||||
|
ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib32
|
||||||
|
|
||||||
# install linux API headers for x86
|
# install linux API headers for x86
|
||||||
cd ${wrksrc}/linux-${_linux_version}
|
cd ${wrksrc}/linux-${_linux_version}
|
||||||
|
|
Loading…
Reference in New Issue