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.
This commit is contained in:
Érico Rolim 2020-12-26 23:50:40 -03:00 committed by Daniel Kolesa
parent cdfd0921d2
commit b3dfaf148b
1 changed files with 1 additions and 1 deletions

View File

@ -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