musl: Fix incorrect symlink to libc.so

This commit is contained in:
Dylan Araps 2020-06-06 09:25:12 +03:00
parent 3c20334d54
commit 699d79ffae
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -8,7 +8,10 @@ make
make DESTDIR="$1" install
mkdir -p "$1/usr/bin"
ln -s /usr/lib/ld-musl-x86_64.so.1 "$1/usr/bin/ldd"
ln -s /usr/lib/ld-musl-x86_64.so.1 "$1/usr/bin/ldd"
# Fix incorrect symlink to libc.so.
ln -sf libc.so "$1/usr/lib/ld-musl-x86_64.so.1"
# Install BSD compatibility headers.
install -Dm 755 cdefs.h "$1/usr/include/sys/cdefs.h"