Subject: Re: CVS commit: sharesrc/share/mk
To: Simon Burge <simonb@wasabisystems.com>
From: Perry E. Metzger <perry@wasabisystems.com>
List: source-changes
Date: 11/26/2001 19:49:02
you got it.

Simon Burge <simonb@wasabisystems.com> writes:
> I _think_ Perry means that the
> 
> 	ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}.tmp
> 	mv -f lib${LIB}.so.${SHLIB_MAJOR}.tmp lib${LIB}.so.${SHLIB_MAJOR}
> 	ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.tmp
> 	mv -f lib${LIB}.so.tmp lib${LIB}.so
> 
> can just be
> 
> 	ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so.${SHLIB_MAJOR}
> 	ln -sf lib${LIB}.so.${SHLIB_FULLVERSION} lib${LIB}.so
> 
> (ie, without the "install to .tmp and rename" dance).
> 
> Now, if you do
> 
> 	env LD_LIBRARY_PATH=/usr/src/lib/libc/obj.foo exec <yourshell>
> 
> it could be argued that maybe you should lose every now and then :-)
> 
> Simon.
> --
> Simon Burge                            <simonb@wasabisystems.com>
> NetBSD CDs, Support and Service:    http://www.wasabisystems.com/
> 

--
Perry E. Metzger		perry@wasabisystems.com
--
NetBSD Development, Support & CDs. http://www.wasabisystems.com/