summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/musl/musl-1.2.3-r3.ebuild6
-rw-r--r--sys-libs/musl/musl-9999.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/sys-libs/musl/musl-1.2.3-r3.ebuild b/sys-libs/musl/musl-1.2.3-r3.ebuild
index 563d555aab5a..215d34d742fa 100644
--- a/sys-libs/musl/musl-1.2.3-r3.ebuild
+++ b/sys-libs/musl/musl-1.2.3-r3.ebuild
@@ -40,8 +40,10 @@ LICENSE="MIT LGPL-2 GPL-2"
SLOT="0"
IUSE="crypt headers-only"
-QA_SONAME="/usr/lib/libc.so"
-QA_DT_NEEDED="/usr/lib/libc.so"
+QA_SONAME="usr/lib/libc.so"
+QA_DT_NEEDED="usr/lib/libc.so"
+# bug #830213
+QA_PRESTRIPPED="usr/lib/crtn.o"
# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?)
# built as part as crossdev. Also, elide the blockers when in cross-*,
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index b42381e40998..215d34d742fa 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -40,9 +40,15 @@ LICENSE="MIT LGPL-2 GPL-2"
SLOT="0"
IUSE="crypt headers-only"
-QA_SONAME="/usr/lib/libc.so"
-QA_DT_NEEDED="/usr/lib/libc.so"
-
+QA_SONAME="usr/lib/libc.so"
+QA_DT_NEEDED="usr/lib/libc.so"
+# bug #830213
+QA_PRESTRIPPED="usr/lib/crtn.o"
+
+# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?)
+# built as part as crossdev. Also, elide the blockers when in cross-*,
+# as it doesn't make sense to block the normal CBUILD libxcrypt at all
+# there when we're installing into /usr/${CHOST} anyway.
if [[ ${CATEGORY} == cross-* ]] ; then
IUSE="${IUSE/crypt/+crypt}"
else