libtool-patches
[Top][All Lists]
Advanced

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

Re: Integrating libtool head into GraphicsMagick


From: Ralf Wildenhues
Subject: Re: Integrating libtool head into GraphicsMagick
Date: Tue, 6 Dec 2005 07:49:09 +0100
User-agent: Mutt/1.5.11

* Ralf Wildenhues wrote on Tue, Dec 06, 2005 at 05:39:57AM CET:
> * Bob Friesenhahn wrote on Tue, Dec 06, 2005 at 03:48:04AM CET:
> > On Mon, 5 Dec 2005, Bob Friesenhahn wrote:
> > >
> > >So I am at a loss as to why Automake fails to build ltdl/libltdlc.la 
> > >before attempting to use it.
> > 
> > FYI, a quick fix to the build-order problem is
> > 
> >   # Convince libltdl to be built before the library which needs it.
> >   $(LIBMAGICK): $(LIBLTDL)
> > 
> > but this feels wrong to me.  Automake should already know about this 
> > dependency.

This problem existed before.  It may just have been hidden by the
default order in which the libraries were built -- I bet a parallel make
would've exposed it.

I think you have to bite the apple and specify the library dependencies
manually:

in magick/Makefile.am, do this outside of any other Automake
conditionals:

if CONVENIENCE_LTDL
magick_libGraphicsMagick_la_DEPENDENCIES = $(LIBLTDL)
endif

If any of the other $(MAGICK_DEP_LIBS) may be in-tree dependencies, you
will need to specify them as well.  (That is the same issue, and also
existed before.)  I sent you a patch off-list which incorporates this.

This is not nice, but it has the advantage of not being a hack, and
should make parallel build work.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]