Subject: Re: Shared libraries and libtool
To: Murray Armfield , Nick Hudson <skrll@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: netbsd-help
Date: 03/22/2002 08:40:49
On Friday 22 March 2002 8:29 am, Murray Armfield wrote:
> On Fri, 22 Mar 2002 19:01, you wrote:
> > On Friday 22 March 2002 4:37 am, Murray Armfield wrote:
> > > Hi Folks,
> > > 	Is it possible to tell libtool to build only a shared library? On
> > > libtool doco page it mentions options to do static only library; The
> > > all-static option on link mode.
> >
> > There is a way at configure time to specify --with-pic that makes libtool
> > prodcues only shared DSOs. devel/libtool-base is not configured with this
> > option. Why would you want to do this?
[...]

> I'm playing with an update to textproc/xerces-c package and it only builds 
> a shared library. The software is not designed to build statically. Hence
> it would be easier to just tell libtool to only build a shared library
> rather than play around with the package unnecessarily.

I don't see the harm in producing static libraries as well. Maybe you can 
post an example of where this is causing problems.

Nick