summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-02 13:10:02 +0000
committerphk <phk@FreeBSD.org>1996-09-02 13:10:02 +0000
commit59f8ce79a3d600161bcc0b3dd607ec17c06cc26f (patch)
tree0473e743bd51dd93288696977321d54ff91bb961 /etc/rc
parentbea26e19eddd870618d175dc7edc05d2c2bd1c49 (diff)
downloadFreeBSD-src-59f8ce79a3d600161bcc0b3dd607ec17c06cc26f.zip
FreeBSD-src-59f8ce79a3d600161bcc0b3dd607ec17c06cc26f.tar.gz
Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 2a30108..1724964 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.96 1996/07/30 06:28:59 jkh Exp $
+# $Id: rc,v 1.97 1996/08/21 23:15:36 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -295,6 +295,7 @@ fi
# add your own entries or you may come to grief.
if [ -x /sbin/ldconfig ]; then
_LDC=/usr/lib
+ if [ -d /usr/lib/compat ]; then _LDC="${_LDC} /usr/lib/compat" ; fi
if [ -d /usr/X11R6/lib ]; then _LDC="${_LDC} /usr/X11R6/lib" ; fi
if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi
if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi
OpenPOWER on IntegriCloud