ldconfig: remove i386 aout invocation
aout support in ldconfig hasn't been required since FreeBSD 2.x. Anyone still using FreeBSD 2 shared libraries can use a FreeBSD 2 ldconfig to generate aout ldconfig hints. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24883
This commit is contained in:
parent
e46cf959d6
commit
aa5e1b42e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362543
@ -85,22 +85,6 @@ ldconfig_start()
|
|||||||
${ldconfig} -soft ${_ins} ${_LDC}
|
${ldconfig} -soft ${_ins} ${_LDC}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Legacy aout support for i386 only
|
|
||||||
case ${machine_arch} in
|
|
||||||
i386)
|
|
||||||
# Default the a.out ldconfig path.
|
|
||||||
: ${ldconfig_paths_aout=${ldconfig_paths}}
|
|
||||||
_LDC=""
|
|
||||||
for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
|
|
||||||
if [ -r "${i}" ]; then
|
|
||||||
_LDC="${_LDC} ${i}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
check_startmsgs && echo 'a.out ldconfig path:' ${_LDC}
|
|
||||||
${ldconfig} -aout ${_ins} ${_LDC}
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user