Subject: Re: Shared libraries and libtool
To: Nick Hudson <skrll@netbsd.org>
From: Murray Armfield <murray@river-styx.org>
List: netbsd-help
Date: 03/22/2002 19:29:54
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?
>
> Nick

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.

Murray