Browse Source

re-order shlib_dirs, now X11R6/lib, local/lib, then custom libdirs

concept originally from Joshua Stein <jcs@rt.fm>, thanks!
markus@, espie@ ok; based on useful discussion from fgsch@, espie@, heko@
OPENBSD_3_0
todd 23 years ago
parent
commit
22b74f8dc4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/rc

+ 3
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.182 2001/08/22 16:13:14 deraadt Exp $
# $OpenBSD: rc,v 1.183 2001/09/19 16:27:47 todd Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -366,10 +366,10 @@ fi
if [ -f /sbin/ldconfig ]; then if [ -f /sbin/ldconfig ]; then
echo 'creating runtime link editor directory cache.' echo 'creating runtime link editor directory cache.'
if [ -d /usr/local/lib ]; then if [ -d /usr/local/lib ]; then
shlib_dirs="$shlib_dirs /usr/local/lib"
shlib_dirs="/usr/local/lib $shlib_dirs"
fi fi
if [ -d /usr/X11R6/lib ]; then if [ -d /usr/X11R6/lib ]; then
shlib_dirs="$shlib_dirs /usr/X11R6/lib"
shlib_dirs="/usr/X11R6/lib $shlib_dirs"
fi fi
ldconfig $shlib_dirs ldconfig $shlib_dirs
fi fi


Loading…
Cancel
Save