automake
[Top][All Lists]
Advanced

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

Re: prog_LDADD at the end of the linking command line


From: Akim Demaille
Subject: Re: prog_LDADD at the end of the linking command line
Date: Tue, 23 Oct 2007 15:20:43 +0200


Le 19 oct. 07 à 19:16, Ralf Wildenhues a écrit :

Hello Benoit,

* Benoit SIGOURE wrote on Fri, Oct 19, 2007 at 06:48:25PM CEST:

# Add boost libraries.
AM_CXXFLAGS += $(BOOST_CPPFLAGS)
AM_LDFLAGS  += $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)

Don't put libs (-l...) in LDFLAGS, it messes up the ordering. Put them
in *_LDADD/*_LIBADD or LIBS.  Note that LIBS comes last, so the most
lowlevel ones should be listed there.

Thanks Ralf, that did solve our issue.  Too bad there is still
not AM_LIBADD, that's really the first name that comes to the
mind :)





reply via email to

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