Subsume external library into source tree with Autotools.

Posted by troutwine on Stack Overflow See other posts from Stack Overflow or by troutwine
Published on 2010-06-14T06:37:09Z Indexed on 2010/06/14 6:42 UTC
Read the original article Hit count: 434

Filed under:
|
|
|

I am developing a new project, using Autotools for my build infrastructure. I would like to subsume external dependencies into my source tree. These dependencies are using Autotools, as well. How can I configure my project's build scripts to build and link against subsumed dependencies? Though Duret-Lutz's tutorial is excellent, this situation is only briefly addressed in a few slides. I found his explanation deeply confusing.

By adding the directory name of subsumed dependencies to the toplevel Makefile.am's SUBDIRS the dependency is being configured and built. It is possible to manually set include paths through CFLAGS, but how do I link against libtool .la files?

© Stack Overflow or respective owner

Related posts about c

    Related posts about gcc