Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: sharesrc/share/mk



you got it.

Simon Burge <simonb%wasabisystems.com@localhost> 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@localhost>
> NetBSD CDs, Support and Service:    http://www.wasabisystems.com/
> 

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



Home | Main Index | Thread Index | Old Index