libtool
[Top][All Lists]
Advanced

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

Re: third party libaries


From: Bob Friesenhahn
Subject: Re: third party libaries
Date: Thu, 3 Mar 2005 10:15:38 -0600 (CST)

On Thu, 3 Mar 2005, Johannes Drever wrote:

Hello everyone!

what is the best way to add the dependency on third party libaries to my project? The project has many "subproject" which i want to able to build seperately, and each "subproject" depends on other third party libraries.

i am totaly unsure where to put the dependencies, so i would be glad to have some advice, or example, or a good tutorial to look at.

If you are using Automake, you should express library dependencies via an LDADD statement (can be on a per-library level). If the libraries are in the local build tree, the listed dependency should be the absolute or relative path to the library's uninstalled .la file. If the libraries are already installed, then use -llib syntax.

Automake will pass LDADD options to libtool "as is".

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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