Re: C library promoted to C++ linkage due to optional C++ source module

Karl Berry <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Hi Bob,

    It is my opinion that if a library or program 
    is linked with C++ libraries (and especially if it is a static build!) 
    that it should be linked using the C++ linker.  Likewise, if a library 
    or program does not depend on, or contain any C++ code, it should be 
    linked with the C linker.

I surely agree, in principle. But that doesn't mean I have the faintest
idea what to change in Automake to make that be the case. You probably
know better than me :). Can you provide (as simple as possible) test cases?

    I have a continuing problem that when libtool tests 

[email protected] for that one, I think ... --best, karl.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.