aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl')
-rw-r--r--main/musl/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/musl/APKBUILD b/main/musl/APKBUILD
index 7b0a77eca1..5f4521081a 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.15
-pkgrel=1
+pkgrel=2
pkgdesc="the musl c library (libc) implementation"
url="http://www.musl-libc.org/"
arch="all"
@@ -77,6 +77,8 @@ package() {
mv -f "$pkgdir"/usr/lib/libc.so "$pkgdir"/lib/"$LDSO" || return 1
ln -sf "$LDSO" "$pkgdir"/lib/libc.musl-${CARCH}.so.1 || return 1
ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/lib/libc.so || return 1
+ mkdir -p "$pkgdir"/usr/bin || return 1
+ ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/bin/ldd || return 1
# remove libintl.h, currently we don't want by default any NLS
# and use GNU gettext where needed. the plan is to migrate to
@@ -89,8 +91,8 @@ utils() {
replaces="libiconv uclibc-utils"
license="MIT BSD GPL2+"
- mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/sbin
- ln -sf ../../lib/"$LDSO" "$subpkgdir"/usr/bin/ldd || return 1
+ mkdir -p "$subpkgdir"/usr "$subpkgdir"/sbin
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1
install -D \
"$builddir"/getent \