mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Only pass paths to directories or config files that exist for ldconfig for
32-bit binaries. MFC after: 3 days
This commit is contained in:
parent
a1e8ef7737
commit
af14f69c40
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174567
@ -49,8 +49,14 @@ ldconfig_start()
|
||||
fi
|
||||
fi
|
||||
done
|
||||
echo '32-bit compatibility ldconfig path:' ${ldconfig32_paths}
|
||||
${ldconfig} -32 -m ${_ins} ${ldconfig32_paths}
|
||||
_LDC=""
|
||||
for i in ${ldconfig32_paths}; do
|
||||
if [ -r "${i}" ]; then
|
||||
_LDC="${_LDC} ${i}"
|
||||
fi
|
||||
done
|
||||
echo '32-bit compatibility ldconfig path:' ${_LDC}
|
||||
${ldconfig} -32 -m ${_ins} ${_LDC}
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user