[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional nodist_EXTRA_*_SOURCES C++ linking idiom

From: Diego Elio Pettenò
Subject: Re: Conditional nodist_EXTRA_*_SOURCES C++ linking idiom
Date: Mon, 17 Sep 2012 17:18:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1

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 should be linked as C ... fdk-aac does this by
rewriting the LINK variable for it [1] but it's a nasty hack and also
relies on a dummy.c file.

Having a foo_LANGUAGE = C or foo_LANGUAGE = C++ would be nice indeed...


Diego Elio Pettenò — Flameeyes
address@hidden —

reply via email to

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