libtool
[Top][All Lists]
Advanced

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

Re: third party libaries


From: Johannes Drever
Subject: Re: third party libaries
Date: Thu, 3 Mar 2005 17:47:42 +0100 (MET)

On Thu, 3 Mar 2005, Bob Friesenhahn wrote:
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"

I didn't want to make an application for each sublibrary. (i think LDADD is for linking executabels?)

As the libraries i want to use are already installed i should use the -llib syntax, but where? i already passed the flags via AM_CPPFLAGS=... but is it the right way? and how can i define one path to link at and une the location in the makefile.am's ( or can i make autoconf search the path ?)

Thank you very much,

Johannes




reply via email to

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