retitle 473415 disabling building shared libraries shouldn't have as effect 
that all libraries should get linked.
thanks

On Sun, Mar 30, 2008 at 05:41:35PM +0200, Kurt Roeckx wrote:
> On Sun, Mar 30, 2008 at 05:06:01PM +0200, Ralf Wildenhues wrote:
> > Hello Kurt,
> > 
> > * Kurt Roeckx wrote on Sun, Mar 30, 2008 at 04:39:09PM CEST:
> > > Package: libtool
> > > Version: 1.5.26-1
> > > 
> > > It seems that link_all_deplibs=no isn't working anymore?  Atleast when
> > > building madplay it ends up linking to audiofile and libz.
> > 
> > Can you post the trace output of the link command, please?
> >   $SHELL -x ./libtool --mode=link ...
> 
> I think the problem is that build_libtool_libs is set to no, so that
> linkalldeplibs always gets set to yes.
> 
> During configure I see:
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> 
> ./configure --help also shows:
>   --enable-shared[=PKGS]  build shared libraries [default=no]
> 
> So I wonder why the default is set to no now.

So it has an AC_DISABLE_SHARED, and I don't see why it sets it since it
doesn't actually build any libraries.

> But I think that even if the package doesn't build shared libraries, but
> does link to them, it shouldn't link to all the deplibs.

I still think libtool should be doing the right thing in that case and
just link those (shared) libraries it would when shared libraries
weren't disabled.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to