build-style/void-cross: symlink bin on install

this is needed so that binaries go in sysroot/usr/bin instead
of sysroot/bin
This commit is contained in:
q66 2021-01-26 19:53:19 +01:00
parent d6fbf4b348
commit 22962b7118

View file

@ -547,6 +547,7 @@ do_install() {
# and we want to delete the libexec from glibc afterwards to save space
mkdir -p ${DESTDIR}/${sysroot}/usr/{bin,lib,libexec,include,share}
# Sysroot base symlinks
ln -sf usr/bin ${DESTDIR}/${sysroot}/bin
ln -sf usr/lib ${DESTDIR}/${sysroot}/lib
ln -sf usr/lib ${DESTDIR}/${sysroot}/lib${ws}
ln -sf lib ${DESTDIR}/${sysroot}/usr/lib${ws}