Use C++ linker
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 14:48:23 +0000 (14:48 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 14:48:23 +0000 (14:48 +0000)
cde/programs/util/dttypes/Imakefile

index 7f45f8c8a8b32f610b7c99841fe5bad162a1a747..dc43b01fab57342bfb312c73d70e70efd2cb4c51 100644 (file)
@@ -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