"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 install it separately, but when I do this
> the compilation does not pull in the library "C" into the mix and has
> undefined references to all of the functions it needs.  Is there any
> easy way for me to fix this without having "A" know about the dependency
> on "C"?

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.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


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

Reply via email to