From: Peter Howkins Date: Mon, 12 Mar 2012 11:17:27 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~108 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9ad5e31edd9b46a3af2a7e07cb878e88c18ebf7e;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dtdbcache/Imakefile b/cde/programs/dtdbcache/Imakefile index a4f72e90..067b0c97 100644 --- a/cde/programs/dtdbcache/Imakefile +++ b/cde/programs/dtdbcache/Imakefile @@ -58,6 +58,12 @@ SYS_LIBRARIES = -lm -ldl -lw -lgen SYS_LIBRARIES = -lm -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 + SRCS = Main.c OBJS = Main.o