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: Ralf Wildenhues
Subject: Re: prog_LDADD at the end of the linking command line
Date: Fri, 19 Oct 2007 19:16:13 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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.

> uconsole_LDADD = libkernel.la

Cheers,
Ralf




reply via email to

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