fix ldd in musl

This commit is contained in:
Lance Vick 2023-12-04 20:35:56 -08:00
parent 2fa770b773
commit 785a9b02b4
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ RUN set -eux; \
RUN set -eux; \
make DESTDIR=/home/user/rootfs install; \
mkdir -p /home/user/rootfs/usr/bin; \
printf "%s\n%s\n" '#!/bin/sh' 'exec /lib/$LDSO --list "\$@"' \
printf "%s\n%s\n" '#!/bin/sh' 'exec /lib/ld-musl-x86_64.so.1 --list "\$@"' \
> /home/user/rootfs/usr/bin/ldd; \
chmod 755 /home/user/rootfs/usr/bin/ldd; \
mv -f /home/user/rootfs/usr/lib/libc.so /home/user/rootfs/lib/ld-musl-x86_64.so.1; \