cross-mipsel-linux-musl: fix ld-musl*.so* symlinks
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 <pullmoll@t-online.de>
This commit is contained in:
parent
9575004f27
commit
9e1db28d09
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}"
|
||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.30
|
version=0.30
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="Cross toolchain for MIPS32r2 LE softfloat target (musl)"
|
short_desc="Cross toolchain for MIPS32r2 LE softfloat target (musl)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
homepage="https://www.voidlinux.org/"
|
homepage="https://www.voidlinux.org/"
|
||||||
|
@ -245,9 +245,9 @@ do_install() {
|
||||||
# Remove useless headers.
|
# Remove useless headers.
|
||||||
rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed
|
rm -rf ${DESTDIR}/usr/lib/gcc/${_triplet}/*/include-fixed
|
||||||
|
|
||||||
# Make ld-musl.so symlinks relative.
|
# Make ld-musl*.so.1 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-mipsel.so.1
|
||||||
ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mips-sf.so.1
|
ln -sf libc.so ${DESTDIR}/${_sysroot}/usr/lib/ld-musl-mipsel-sf.so.1
|
||||||
|
|
||||||
# symlinks for gnarl and gnat shared libraries
|
# symlinks for gnarl and gnat shared libraries
|
||||||
_majorver=${_gcc_version%.*.*}
|
_majorver=${_gcc_version%.*.*}
|
||||||
|
|
Loading…
Reference in a new issue