Subject: Re: libtool on Solaris [was Re: CVS commit: pkgsrc]
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 02/28/2001 20:52:51
Hubert Feyrer wrote:
>
> On Wed, 28 Feb 2001, Nick Hudson wrote:
> > The question is do we want libtool to do the default thing for Solaris
> > or the default thing for pkgsrc? The former would mean a lot of
> > divergence in the PLISTs as you have noted.
>
> Would it be possible to let our automatic shlib handling DTRT in the
> default solaris case?
I don't see an easy way - you could teach the automatic shlib handling
the number systems used for each but then you've got to pass it the
-version-info parameters.
For example the following two libraries were created using the NetBSD
and Linux/Solaris methods with the libtool -version-info argument of
2:0:1.
liblnb.so -> liblnb.so.2.0
liblnb.so.2 -> liblnb.so.2.0
liblnb.so.2.0
liblsl.so -> liblsl.so.1.1.0
liblsl.so.1 -> liblsl.so.1.1.0
liblsl.so.1.1.0
Nick
--
aka skrll@netbsd.org, skrll@excite.co.uk