automake
[Top][All Lists]
Advanced

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

Re: Multiple dependant library


From: Ralf Wildenhues
Subject: Re: Multiple dependant library
Date: Tue, 30 May 2006 07:12:26 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hi Dario,

* Dario Meloni wrote on Tue, May 30, 2006 at 12:40:22AM CEST:
> Hi,
> I am trying to setup an automake script to build 3 library which each
> one, except the first, depends on the others preceding libraries (they
> are IL,ILU and ILUT).
> 
> the folder are disposed like this, with the main makefile in the root 
> directory
> src-IL/
> src-ILU/
> src-ILUT/
> 
> actually to accomplish this the ld flags had these line for ILU:
>  -L$(top_srcdir)/src-IL/src
> 
> and these for ILUT:
>  -L$(top_srcdir)/src-IL/src
>  -L$(top_srcdir)/src-ILU/src

Since they are in the same build tree, you should write instead
  ../src/IL/src/libIL.la
  ../src/ILU/src/libILU.la

Then everything will work as intended.

Cheers,
Ralf




reply via email to

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