Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 1997 01:13:51 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        hans@brandinnovators.com (Hans Zuidam)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Any objection to the following? 
Message-ID:  <19435.865584831@time.cdrom.com>
In-Reply-To: Your message of "Fri, 06 Jun 1997 09:23:26 %2B0200." <199706060723.JAA04486@truk.brandinnovators.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> No, although I remember submitting patches to ldconfig for much
> the same a long time ago.  They would allow ldconfig to take a file
> on the command line and read its directories from it.  Directories
> on command line are treated just like normal. If there's any interest
> I could submit the patches again.

That might be interesting..  If it accepted multiple filenames, it
would also make possible:

	if [ -f /etc/ld.so.conf ]; then
		_LDC=/etc/ld.so.conf
	fi
	for i in ${local_dirs}; do
		if [ -f $i/ld.so.conf ]; then
			_LDC="${_LDC} $i/ld.so.conf"
		fi
	done
	ldconfig ${_LDC}

with very little fuss..

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19435.865584831>