Use C++ linker
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:27:41 +0000 (16:27 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 16:27:41 +0000 (16:27 +0000)
cde/programs/dtappbuilder/src/abmf/Imakefile

index abb7571b6cc0a525751fae95ce4768ae6ad57b2d..ebda0774d4720707f2141fc7bb1e57747eaeb7f1 100644 (file)
@@ -109,6 +109,12 @@ CCOPTIONS = -qnoro
 WAITTARGET = .WAIT
 #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
+
 PROGRAMS = dtcodegen
 LINTLIBS = $(XINPUTLIB) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)