automake
[Top][All Lists]
Advanced

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

Re: Dynamic linking with automake and libtool


From: Ralf Wildenhues
Subject: Re: Dynamic linking with automake and libtool
Date: Tue, 2 Aug 2005 10:52:12 +0200
User-agent: Mutt/1.4.1i

Hi James,

* James Laird wrote on Mon, Aug 01, 2005 at 11:40:16PM CEST:
> 
> Since all of the tests include the main library (using LDADD), they all 
> depend on that library.  Thus, when the main library is changed, all of 
> the tests must be recompiled.
> 
> It would be nice if, when the library is configured as a shared library,
> the tests only needed to re-link rather than being completely recompiled.  
> I can't figure out a way to do this short of editing automake itself.  
> Any ideas?

Recompilation should not happen.  Show the Makefile.am snippet or a
pointer to the source which exhibits this problem with a way to
reproduce it.  Sure there is not also a changed header file which is
included (maybe implicitly) by the test code?

Cheers,
Ralf




reply via email to

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