automake
[Top][All Lists]
Advanced

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

Re: Generated Makefile fails to build


From: Robert Parker
Subject: Re: Generated Makefile fails to build
Date: Sat, 20 Sep 2014 13:35:39 +0700

On Sat, Sep 20, 2014 at 6:16 AM, Bob Friesenhahn <
address@hidden> wrote:


> A library is not a linker flag so it does not belong in LDFLAGS. Look into
> using a 'LIBADD' type option instead.
>
> Thanks for pointing me in the right direction.
The bad line in my Makefile.am has now been replaced with:

pwordsaver_LDADD=-lmhash

and everything just works.

My searching came up with, use LIBADD when building libraries and LDADD
when building programs.

Bob


--


reply via email to

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