From 966de73d17d3074bd2a0f9c4baac345a5df53102 Mon Sep 17 00:00:00 2001 From: Robert Peichaer Date: Wed, 2 Dec 2015 20:39:58 +0000 Subject: Since version 1.467 of /etc/rc, it was no longer possible to add shlib_dirs using /etc/rc.conf.local. Fix from Jan Johansson, thanks. OK krw@, halex@ --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc b/etc/rc index 535a41f1471..f702241538b 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.470 2015/11/27 03:53:28 deraadt Exp $ +# $OpenBSD: rc,v 1.471 2015/12/02 20:39:57 rpe Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the @@ -442,7 +442,7 @@ fi if [[ -x /sbin/ldconfig ]]; then echo 'creating runtime link editor directory cache.' - [[ -d /usr/local/lib ]] && shlib_dirs="/usr/local/lib" + [[ -d /usr/local/lib ]] && shlib_dirs="/usr/local/lib $shlib_dirs" [[ -d /usr/X11R6/lib ]] && shlib_dirs="/usr/X11R6/lib $shlib_dirs" ldconfig $shlib_dirs fi -- cgit v1.2.3