diff options
Diffstat (limited to 'main/musl/APKBUILD')
-rw-r--r-- | main/musl/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/musl/APKBUILD b/main/musl/APKBUILD index 5d606398f6..b155b30962 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.9 -pkgrel=1 +pkgrel=2 pkgdesc="the musl c library (libc) implementation" url="http://www.musl-libc.org/" arch="all" @@ -121,10 +121,10 @@ compat() { esac mkdir -p "$subpkgdir"/lib - gcc -fPIC -shared -nostartfiles -x c /dev/null -o "$subpkgdir/lib/$_ld" -Wl,-soname,"$_ld" + ln -sf "/lib/libc.musl-${CARCH}.so.1" "$subpkgdir/lib/$_ld" for i in libc.so.6 libm.so.6 libpthread.so.0 librt.so.1 libutil.so.1; do - gcc -fPIC -shared -nostartfiles -x c /dev/null -o "$subpkgdir/lib/$i" -Wl,-soname,"$i" + ln -sf "/lib/libc.musl-${CARCH}.so.1" "$subpkgdir/lib/$i" done } |