From: Peter Howkins Date: Mon, 12 Mar 2012 11:01:17 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd368b24a2cd8f03a4a26f014f3db081087c6903;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dtsession/Imakefile b/cde/programs/dtsession/Imakefile index 4ff3192a..f6bc68ff 100644 --- a/cde/programs/dtsession/Imakefile +++ b/cde/programs/dtsession/Imakefile @@ -67,6 +67,12 @@ DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \ SYS_LIBRARIES = -lelf -lm -ldl -lgen #endif +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 + PROGRAMS=dtsession /**** Every .o except version.o may only be built in a remote