Hello Ryan,

* Ryan McDougall wrote on Thu, Sep 28, 2006 at 11:30:32AM CEST:
> On Thu, 2006-09-28 at 18:23 +0900, Ryan McDougall wrote:
> > 
> > How can I either
> > 1. Express to automake the correct dependancy

By writing
  libA_la_LIBADD = libfoo.la

instead of
  libA_la_LIBADD = -L. -lfoo
 
> I just discovered that I can trick automake with this:
> 
> zardir=/dev/null
> zar_LTLIBRARIES=libfoo.la
> lib_LTLIBRARIES=libA.la
> 
> and this will allow libfoo to be built before libA, however this is sort
> of trickery is bound to bite me in the ass somewhere, right?

That is wrong, as it causes libfoo to not be a convenience archive, but
a real, installable library.  It's doomed to failure, as the installed
libA may depend on it being present.

Cheers,
Ralf


Reply via email to