From d84af72c033c15e4f89df0548959994bf6dd74c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 26 Dec 2020 23:50:40 -0300 Subject: [PATCH] musl: fix ldd symlink for multilib systems. Also allows it to be called in any situation, not only when /usr/lib/libc.so is indeed musl. Not increasing revision, since this isn't an urgent fix. --- srcpkgs/musl/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index a08ef9e0d89..a6a49ff3d05 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -32,7 +32,7 @@ do_install() { rm ${DESTDIR}/lib # provide ldd vmkdir usr/bin - ln -s /usr/lib/libc.so ${DESTDIR}/usr/bin/ldd + ln -s ../lib${XBPS_TARGET_WORDSIZE}/libc.so ${DESTDIR}/usr/bin/ldd # additional utils from Alpine/NetBSD vbin iconv vbin getent