From: Peter Howkins Date: Mon, 12 Mar 2012 11:11:10 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~110 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce390d1290f3b88ac263dbd92cc77374dc5a08f9;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dtaction/Imakefile b/cde/programs/dtaction/Imakefile index a58065fe..50aaf51f 100644 --- a/cde/programs/dtaction/Imakefile +++ b/cde/programs/dtaction/Imakefile @@ -12,6 +12,12 @@ SYS_LIBRARIES = -lm EXTRA_DEFINES = +e #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 + #ifdef LinuxArchitecture SYS_LIBRARIES = -lm -lcrypt #endif