From 9e1db28d09988efa3ea64ab8e5aeec6ec58ecf0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 7 May 2019 18:53:10 +0200 Subject: [PATCH] cross-mipsel-linux-musl: fix ld-musl*.so* symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Long standing bug that led to an absolute symlink pointing to the host /usr/lib/libc.so instead of the cross base libc.so. Signed-off-by: Jürgen Buchmüller --- srcpkgs/cross-mipsel-linux-musl/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/cross-mipsel-linux-musl/template b/srcpkgs/cross-mipsel-linux-musl/template index 54a8de0163..79f158cf91 100644 --- a/srcpkgs/cross-mipsel-linux-musl/template +++ b/srcpkgs/cross-mipsel-linux-musl/template @@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.30 -revision=2 +revision=3 short_desc="Cross toolchain for MIPS32r2 LE softfloat target (musl)" maintainer="Juan RP " homepage="https://www.voidlinux.org/" @@ -245,9 +245,9 @@ do_install() { # Remove useless headers. rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed - # Make ld-musl.so symlinks relative. - ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mips.so.1 - ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mips-sf.so.1 + # Make ld-musl*.so.1 symlinks relative. + ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mipsel.so.1 + ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mipsel-sf.so.1 # symlinks for gnarl and gnat shared libraries _majorver=${_gcc_version%.*.*}