From: Peter Howkins Date: Fri, 23 Mar 2012 13:49:49 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~62^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d929f4cf5fbbb3c73850a25b3fcf5d9dc636c89f;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dticon/Imakefile b/cde/programs/dticon/Imakefile index 1f147e84..898a1357 100644 --- a/cde/programs/dticon/Imakefile +++ b/cde/programs/dticon/Imakefile @@ -53,6 +53,11 @@ SYS_LIBRARIES = -lm -ldl -lgen EXTRA_DEFINES = #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 = dtIconShell.c event.c fileIO.c \ fileIODialog.c globals.c graphics.c \