/usr/bin/ld-musl-config is in musl 1.1.19-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
for DIR in $(find /etc -maxdepth 1 -type d -name "ld-musl-*.d")
do
ARCH=$(echo $DIR | sed 's@/etc/ld-musl-@@g' | sed 's@.d@@g')
VALID_ARCH=0
case ${ARCH} in
aarch64|arm|armhf|amd64|i386|mips|mipsel|mips64el|powerpc64le|s390x|sh4)
VALID_ARCH=1
;;
esac
if [ $VALID_ARCH==1 ]
then
grep -s -v '^#\|^$' /etc/ld-musl-$ARCH.d/* | sort -u > /etc/ld-musl-$ARCH.path
fi
done
|