Time to make /usr/lib/aout optional
M. Warner Losh
imp at bsdimp.com
Mon Sep 27 16:22:52 UTC 2010
I think its time to make /usr/lib/aout optional. The only thing that
depends on it is /etc/rc.d/ldconfig. I think the following patch will
make it optional.
Comments?
Index: ldconfig
===================================================================
--- ldconfig (revision 213200)
+++ ldconfig (working copy)
@@ -66,8 +66,8 @@
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
More information about the freebsd-rc
mailing list