Subject: CVS commit: src/share/mk
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 03/12/2005 13:21:12
Module Name:	src
Committed By:	lukem
Date:		Sat Mar 12 13:21:12 UTC 2005

Modified Files:
	src/share/mk: bsd.shlib.mk

Log Message:
Also set SHLIBDIR to /lib if ${USE_SHLIBDIR} != "no".

This allows <bsd.lib.mk> to correctly set the RPATH of libraries that
use USE_SHLIBDIR=yes to /lib, so that dependent libraries can be found
from /lib when /usr/lib isn't mounted yet.
This was the intention of the _LIBLDOPTS support in <bsd.lib.mk>.

Fixes problem reported by Dan Carosone with when /sbin/cgdconfig is
dynamically linked against libcrypto.so but not libcrypt.so (it was
relying upon libcrypto.so to pull in libcrypt.so).


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/share/mk/bsd.shlib.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.