Re: Conditional nodist_EXTRA_*_SOURCES C++ linking idiom

2012-09-17 Thread Diego Elio Pettenò
On 17/09/2012 17:10, Matt Turner wrote: > Is this behavior by design? Is there some other way I can force C++ > linking conditionally? There is also the opposite case where this is useful: code like fdk-aac, which has to be compiled with a C++ compiler but uses none of the C++ library features and

Conditional nodist_EXTRA_*_SOURCES C++ linking idiom

2012-09-17 Thread Matt Turner
Hi, I'd like to be able to conditionally link with C++. Consider a case where a shared library is C-only, except for when an optional feature is enabled which causes it to be linked with static C++ libraries. When linking with the static C++ libraries, C++ linking must be used in order to link wit