On Linux when linking against a C++ library the whole program must be linked
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 10:38:42 +0000 (10:38 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 10:38:42 +0000 (10:38 +0000)
with the C++ linker.

cde/programs/dtfile/Imakefile
cde/programs/dtfile/dtcopy/Imakefile

index 468f238eed1ecd090bd24590a67c871253ce6048..9eda8cffd9d04ece136727df2e6c19dd6a77178b 100644 (file)
@@ -27,6 +27,12 @@ EXTRA_DEFINES = -D_TOOLTALK
 EXTRA_CCOPTIONS = -xF
 #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 =  ChangeDir.c     ChangeDirP.c    Command.c       Common.c \
         Desktop.c       Directory.c     Encaps.c        File.c \
         FileDialog.c    FileManip.c     FileMgr.c       FileOp.c \
index 31475b21d7905e0dc07ad878fac828b055b44d0d..6da100b9f3ee0a432cae70dd925f53a143515f47 100644 (file)
@@ -10,6 +10,12 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
 EXTRA_CCOPTIONS = -xF
 #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 =  main_dtcopy.c   copydialog.c    overwrtdialog.c dosync.c \
         fsrtns.c        utils.c         errordialog.c   sharedFuncs.c