diff options
author | William Pitcock <nenolod@dereferenced.org> | 2015-05-18 19:28:57 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2015-05-18 19:28:57 -0500 |
commit | 1774dd06afa61cf1f8da3cb4ab1033becc889ad0 (patch) | |
tree | a3e5976e84b87d0d824749542f05df262374057e /main/musl | |
parent | 0ee848857083de56a36285494071e75a3d557139 (diff) | |
download | aports-1774dd06afa61cf1f8da3cb4ab1033becc889ad0.tar.bz2 aports-1774dd06afa61cf1f8da3cb4ab1033becc889ad0.tar.xz |
main/musl: libc6-compat: use symlinks instead of stub files
Diffstat (limited to 'main/musl')
-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 } |