When linking against C++ libraries gcc insists on using the C++ linker
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:44:14 +0000 (00:44 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:44:14 +0000 (00:44 +0000)
cde/lib/tt/bin/ttauth/Imakefile

index 2cd2ebf89b8bd08159d136c828fcf7ee384a1d85..57396e3bd4b1d148bc9196438310366515d74b89 100644 (file)
@@ -7,6 +7,12 @@ DEFINES        =
 CONN_DEFINES    = ConnectionFlags
 INCLUDES       = -I. -I../../slib -I../../lib
 
+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
+
 DEPLIBS         = TtClientDepLibs
 LOCAL_LIBRARIES = TtClientLibs
 SYS_LIBRARIES   =