From e321b293c15d49c72c242a3638c57f753c253baa Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 00:44:14 +0000 Subject: [PATCH] When linking against C++ libraries gcc insists on using the C++ linker --- cde/lib/tt/bin/ttauth/Imakefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 = -- 2.25.1