[Top][All Lists]

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

Automake should flag -l parameters in LDFLAGS

From: Jan Engelhardt
Subject: Automake should flag -l parameters in LDFLAGS
Date: Sat, 30 Mar 2013 15:41:13 +0100 (CET)
User-agent: Alpine 2.01 (LNX 1266 2009-07-14)

Given a with

        myprog_LDADD = -pthread

automake will correctly output this warning error: linker flags such as '-pthread' 
        belong in 'myprog_LDFLAGS'

It would be nice to also have automake report -l flags in LDFLAGS that 
actually belong into LIBADD/LDADD:

        myprog_LDFLAGS = -ldl

is currently silently allowed, but is known to cause problems:

reply via email to

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