From: Peter Howkins Date: Mon, 12 Mar 2012 00:44:14 +0000 (+0000) Subject: When linking against C++ libraries gcc insists on using the C++ linker X-Git-Tag: 2.2.0a~26^2~115 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e321b293c15d49c72c242a3638c57f753c253baa;p=oweals%2Fcde.git When linking against C++ libraries gcc insists on using the C++ linker --- diff --git a/cde/lib/tt/bin/ttauth/Imakefile b/cde/lib/tt/bin/ttauth/Imakefile index 2cd2ebf8..57396e3b 100644 --- a/cde/lib/tt/bin/ttauth/Imakefile +++ b/cde/lib/tt/bin/ttauth/Imakefile @@ -7,6 +7,12 @@ DEFINES = CONN_DEFINES = ConnectionFlags INCLUDES = -I. -I../../slib -I../../lib +XCOMM On Linux once you link against a C++ library the whole program +XCOMM has to be linked with the C++ linker +#if defined(LinuxDistribution) +CCLINK = $(CXX) +#endif + DEPLIBS = TtClientDepLibs LOCAL_LIBRARIES = TtClientLibs SYS_LIBRARIES =