Do not run sys/ldconfig on Android ##build

This commit is contained in:
pancake
2021-03-02 01:31:45 +01:00
parent 74de15a4bb
commit eda2a09a0e

View File

@@ -1,4 +1,10 @@
#!/bin/sh
if [ "$(uname)" != Linux ]; then
exit 0
fi
if [ "$(uname -o)" = Android ]; then
exit 0
fi
LD=/etc/ld.so.conf.d
if test -w $LD ; then
if type ldconfig > /dev/null 2>&1 ; then