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

Sasha Khapyorsky sashak at voltaire.com
Sat Apr 25 03:32:17 PDT 2009


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.

Sasha



More information about the general mailing list