* Joakim Tjernlund wrote on Sun, Dec 13, 2009 at 12:04:23PM CET:
> Ralf Wildenhues wrote on 13/12/2009 11:14:58:
> > For dependencies on libraries within the build tree, prefer relative
> > file references over link flags; i.e., write
> >   ../lib/libfoo.la  rather than  -L../lib -lfoo
> >
> > That way, automake (which I assume you're using) will know to rebuild
> > the output when libfoo changes.
> 
> I am using automake. I didn't know automake didn't handle -lfoo dependency 
> wise
> I hope ../lib/libfoo.a works though because some apps wants the static
> lib even though there is a shared one too?

Add -static to link flags for that.  Don't refer to files below .libs.

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to