Re: prog_LDADD at the end of the linking command line

2007-10-23 Thread Akim Demaille
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 ord

Re: prog_LDADD at the end of the linking command line

2007-10-19 Thread Benoit SIGOURE
On Oct 19, 2007, at 7:16 PM, Ralf Wildenhues wrote: 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 o

Re: prog_LDADD at the end of the linking command line

2007-10-19 Thread Ralf Wildenhues
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.

prog_LDADD at the end of the linking command line

2007-10-19 Thread Benoit SIGOURE
Hello list, [CC: Akim: that's why trunk doesn't compile on Windows/MinGW] In a project where we use both Automake and Libtool, I have a program named `uconsole' which depends on Boost and a libtool library `libkernel.a' built in the same directory (which also depends on Boost). Here is an e