Don't require /usr/lib/aout to be on the system. Test for its

existance since we don't generally need it.

MFC after:	1 week
This commit is contained in:
Warner Losh 2011-01-06 21:09:22 +00:00
parent c305730dc0
commit 212dfb3236

View File

@ -66,8 +66,8 @@ ldconfig_start()
i386)
# Default the a.out ldconfig path.
: ${ldconfig_paths_aout=${ldconfig_paths}}
_LDC=/usr/lib/aout
for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do
_LDC=""
for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"
fi