mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.
This commit is contained in:
parent
704b066633
commit
0c4c6c1235
@ -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
|
||||
|
3
etc/rc
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user