Re: Dependencies with static library

2008-11-20 Thread Ralf Wildenhues
* Erich Hoover wrote on Sun, Nov 16, 2008 at 09:07:55PM CET: > > After a combination of guessing and searching I discovered that by fixing my > LDFLAGS and adding the flag "-static-libtool-libs" that everything appears > to link OK. However, what I'd really like to do is just include "B" and "C"

Re: Dependencies with static library

2008-11-16 Thread Erich Hoover
> > Is (B) also linked with libtool? If so, is the *.la file installed? > That's where libtool gets the metadata required to know when to link to > additional libraries. > Yes, and yes. I'm using libtool through autoconf/automake for both the library "B" and the application "A". Everything work

Re: Dependencies with static library

2008-11-15 Thread Russ Allbery
"Erich Hoover" <[EMAIL PROTECTED]> writes: > I have an application (A) that depends upon an obscure library made by > me (B), that depends on a slightly less obscure library made by someone > else (C). I would like to compile A with "B" as a static library so > that the user does not need to inst

Dependencies with static library

2008-11-15 Thread Erich Hoover
I have an application (A) that depends upon an obscure library made by me (B), that depends on a slightly less obscure library made by someone else (C). I would like to compile A with "B" as a static library so that the user does not need to install it separately, but when I do this the compilatio