When linking against libtt (a C++ lib) the link stage should use the C++
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:48:04 +0000 (00:48 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:48:04 +0000 (00:48 +0000)
linker

cde/programs/dtcalc/Imakefile
cde/programs/dtpad/Imakefile
cde/programs/dtscreen/Imakefile

index 85413ff128769bd1657aa365cbc91add0c55fa06..17823c266f8c2f4279b91737dc4de721a17916a5 100644 (file)
@@ -31,6 +31,12 @@ SYS_LIBRARIES = -lm -lgen
 #if defined(HPOSFArchitecture)
 #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 =  calctool.c      ds_common.c     ds_popup.c \
         ds_widget.c     ds_xlib.c       functions.c \
         help.c          motif.c         mp.c \
index c4affc35ee634fe59772b7b2344d7145f95347e0..4e34b1380b193beef4cef37a9754265f23626153 100644 (file)
@@ -11,6 +11,12 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
 #   LOCAL_LDFLAGS = -M mapfile.reorder
 #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 = \
         dtpad.c         editCB.c        fileCB.c \
         fileDlg.c       fileIo.c        formatCB.c \
index 3380006574f56e0a6a7098f8ee4d2a095d902d4e..b011791d7ed43aacc390d0c6cf0cebb8bb3244d3 100644 (file)
@@ -11,6 +11,12 @@ LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
   SYS_LIBRARIES = -lm -lcrypt
 #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 = blank.c         dtscreen.c      flame.c         hopalong.c \
        hsbramp.c       image.c         life.c          pyro.c \
        qix.c           resource.c      rotor.c         swarm.c \