From 68027a6aa01205b4246ca71dff11bec81b260a33 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 11:27:37 +0000 Subject: [PATCH] Link with C++ linker --- cde/programs/dtexec/Imakefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.25.1