diff options
author | Felix Janda <felix.janda@posteo.de> | 2016-09-24 10:12:06 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-09-24 16:15:19 -0400 |
commit | 668244297775b0857de355dc77c6cfe2db1fc7c4 (patch) | |
tree | f2ec767a076599271e138a6abfde00b1d8e2d520 /sys-libs | |
parent | 442ad70d19e83b2fa2e525cc49c42af8db891901 (diff) | |
download | gentoo-668244297775b0857de355dc77c6cfe2db1fc7c4.tar.gz gentoo-668244297775b0857de355dc77c6cfe2db1fc7c4.tar.xz |
sys-libs/musl: add sanity check for ldconfig arch
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/musl/musl-1.1.15-r1.ebuild | 1 | ||||
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/musl/musl-1.1.15-r1.ebuild b/sys-libs/musl/musl-1.1.15-r1.ebuild index ae821369ecc..be22eba1a09 100644 --- a/sys-libs/musl/musl-1.1.15-r1.ebuild +++ b/sys-libs/musl/musl-1.1.15-r1.ebuild @@ -92,6 +92,7 @@ src_install() { if [[ ${CATEGORY} != cross-* ]] ; then local arch=$("${D}"usr/lib/libc.so 2>&1 | sed -n '1s/^musl libc (\(.*\))$/\1/p') + [[ -e "${D}"/lib/ld-musl-${arch}.so.1 ]] || die cp "${FILESDIR}"/ldconfig.in "${T}" || die sed -e "s|@@ARCH@@|${arch}|" "${T}"/ldconfig.in > "${T}"/ldconfig || die into / diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index ae821369ecc..be22eba1a09 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -92,6 +92,7 @@ src_install() { if [[ ${CATEGORY} != cross-* ]] ; then local arch=$("${D}"usr/lib/libc.so 2>&1 | sed -n '1s/^musl libc (\(.*\))$/\1/p') + [[ -e "${D}"/lib/ld-musl-${arch}.so.1 ]] || die cp "${FILESDIR}"/ldconfig.in "${T}" || die sed -e "s|@@ARCH@@|${arch}|" "${T}"/ldconfig.in > "${T}"/ldconfig || die into / |