initial import from Debian
version 1.2.5-3
This commit is contained in:
2
debian/scripts/config.path.in
vendored
Normal file
2
debian/scripts/config.path.in
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/lib/@MUSL_TRIPLE@
|
||||
/usr/lib/@MUSL_TRIPLE@
|
15
debian/scripts/ld-musl-config
vendored
Executable file
15
debian/scripts/ld-musl-config
vendored
Executable file
@@ -0,0 +1,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|loongarch64|mips|mipsel|mips64el|powerpc64le|riscv64|s390x|sh)
|
||||
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
|
Reference in New Issue
Block a user