From 0c4c6c1235fa8dd7541235a4493433fcac73acbd Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 2 Sep 1996 13:10:02 +0000 Subject: [PATCH] Add support for shlibs in /usr/lib/compat that the linker will not find at compile time, but ldd will at runtime. --- etc/mtree/BSD.usr.dist | 4 +++- etc/rc | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 2973ce455c12..643c4a0ad4e9 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -1,4 +1,4 @@ -# $Id: BSD.usr.dist,v 1.64 1996/08/21 09:53:06 jkh Exp $ +# $Id: BSD.usr.dist,v 1.65 1996/08/31 13:04:03 wosch Exp $ # /set type=dir uname=bin gname=bin mode=0755 @@ -14,6 +14,8 @@ include .. lib + compat + .. .. libdata lint diff --git a/etc/rc b/etc/rc index 2a301087f07c..17249640c4e8 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