Re: adding conditionally a c++ file implies static linking with g++

2010-11-19 Thread Ralf Wildenhues
[ let's drop the automake list ] * Vincent Torri wrote on Sat, Nov 20, 2010 at 12:55:27AM CET: > > Now, i've remarked a side effect. What I'm building is a shared lib > that is only opened by dlopen. So I pass --tag=disable-static to > pdf_la_LIBTOOLFLAGS. When using foo_LINK, the static lib is b

Re: adding conditionally a c++ file implies static linking with g++

2010-11-19 Thread Vincent Torri
Hey If the question at the bottom is related to libtool and not automake, tell me and I'll forward the mail to the libtool ML. * Vincent Torri wrote on Fri, Nov 05, 2010 at 04:56:55PM CET: foo_SOURCES = bar1.c if MY_COND foo_SOURCES += bar2.cpp else foo_SOURCES += bar2.c endif One told me