That is indeed the correct way to handle it. Given I know Stefano is
unlikely to have time any time soon, I think patches will be welcome but
may linger for a while :)


Diego Elio Pettenò — Flameeyes
flamee...@flameeyes.eu — http://blog.flameeyes.eu/


On 26 March 2014 08:15, Daniel Pocock <dan...@pocock.com.au> wrote:

>
>
> I understand from the docs that specifying prog_LDADD will override
> LDADD (and the same for prog_CPPFLAGS, ...)
>
>     http://www.gnu.org/software/automake/manual/html_node/Linking.html
>
> If it is desired to merge prog_LDADD and LDADD, is there any recommended
> or preferred solution?
>
> I've tried
>
>     LDADD = -lfoo
>     LDADD += -lrt
>
>     prog_LDADD = -lfoo $(LDADD)
>
> and it seems to work for me - if this is the way to go, could it be
> included in the manual page perhaps?
>
>
>
>
>
>

Reply via email to