From: Peter Howkins Date: Mon, 12 Mar 2012 11:27:37 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~104 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=68027a6aa01205b4246ca71dff11bec81b260a33;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dtexec/Imakefile b/cde/programs/dtexec/Imakefile index fb359dee..5cffc3dc 100644 --- a/cde/programs/dtexec/Imakefile +++ b/cde/programs/dtexec/Imakefile @@ -5,6 +5,12 @@ LOCAL_LIBRARIES = $(TTLIB) $(XTOOLLIB) $(XLIB) DEFINES = -DMSGLOG_CLIENT_ONLY INCLUDES = -I. +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 = DtGetMessage.c Main.c MsgLog.c Version.c OBJS = DtGetMessage.o Main.o MsgLog.o Version.o