[ofa-general] Re: [PATCH v3 3/3] Convert ibnetdiscover to use new ibnetdisc library.

Ira Weiny weiny2 at llnl.gov
Mon Apr 27 14:25:33 PDT 2009


On Sat, 25 Apr 2009 13:32:17 +0300
Sasha Khapyorsky <sashak at voltaire.com> wrote:

> On 10:02 Thu 23 Apr     , Ira Weiny wrote:
> > 
> > Somewhere along the line I broke this and then this got put into the
> > ibnetdiscover patch.  This should not even have been here.  Anyway, LDFLAGS is
> > required for the -L I believe?
> 
> 'info automake' says (Top -> Programs -> A Program):
> 
>    `PROG_LDADD' is inappropriate for passing program-specific linker
> flags (except for `-l', `-L', `-dlopen' and `-dlpreopen').  So, use
> the `PROG_LDFLAGS' variable for this purpose.  
> 
> So '-L' is exception suitable for LDADD.

Ah ok, I did not know about the exception.  We can change if you prefer.

Ira

> 
> Sasha


-- 
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
weiny2 at llnl.gov



More information about the general mailing list