diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-20 16:58:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-20 16:58:36 +0000 |
commit | 0fe3592d277cf2dbf768de1d4782779dcc7085b3 (patch) | |
tree | 2ba800d7ba83174eb1d76563e41d348eb28f0a5f /main/musl | |
parent | abb2fae4290bed67466f7d6a60b6a47fff5befd2 (diff) | |
download | aports-0fe3592d277cf2dbf768de1d4782779dcc7085b3.tar.bz2 aports-0fe3592d277cf2dbf768de1d4782779dcc7085b3.tar.xz |
main/musl: provide /lib64 symlink in libc6-compat
go needs it
Diffstat (limited to 'main/musl')
-rw-r--r-- | main/musl/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/musl/APKBUILD b/main/musl/APKBUILD index d2f3a82692..d7a77ef2d0 100644 --- a/main/musl/APKBUILD +++ b/main/musl/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=musl pkgver=1.1.16 -pkgrel=2 +pkgrel=3 pkgdesc="the musl c library (libc) implementation" url="http://www.musl-libc.org/" arch="all" @@ -115,14 +115,17 @@ utils() { compat() { pkgdesc="compatibility libraries for glibc" + mkdir -p "$subpkgdir"/lib case "$CARCH" in arm*) _ld="ld-linux-armhf.so.3" ;; x86) _ld="ld-linux.so.2" ;; - x86_64) _ld="ld-linux-x86-64.so.2" ;; + x86_64) _ld="ld-linux-x86-64.so.2" + # go precompiled binary uses /lib64/ld-linux-x86-64.so.2 + # so we add a symlink + ln -s lib "$subpkgdir"/lib64 + ;; mips*) _ld="ld.so.1" ;; esac - - mkdir -p "$subpkgdir"/lib ln -sf "/lib/libc.musl-${CARCH}.so.1" "$subpkgdir/lib/$_ld" for i in libc.so.6 libcrypt.so.1 libm.so.6 libpthread.so.0 librt.so.1 libutil.so.1; do |