From: Peter Howkins Date: Mon, 12 Mar 2012 14:48:23 +0000 (+0000) Subject: Use C++ linker X-Git-Tag: 2.2.0a~26^2~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbffec168a407ccaa7d5de4ee8be266a486181a7;p=oweals%2Fcde.git Use C++ linker --- diff --git a/cde/programs/util/dttypes/Imakefile b/cde/programs/util/dttypes/Imakefile index 7f45f8c8..dc43b01f 100644 --- a/cde/programs/util/dttypes/Imakefile +++ b/cde/programs/util/dttypes/Imakefile @@ -39,6 +39,11 @@ ATLIB= SYS_LIBRARIES = -lm -ldl -lgen #endif /* SunArchitecture */ +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 = dttypes.c OBJS = dttypes.o