From f972ee1646a334957e833b44f4209847d9367b8c Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 10:38:42 +0000 Subject: [PATCH] On Linux when linking against a C++ library the whole program must be linked with the C++ linker. --- cde/programs/dtfile/Imakefile | 6 ++++++ cde/programs/dtfile/dtcopy/Imakefile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/cde/programs/dtfile/Imakefile b/cde/programs/dtfile/Imakefile index 468f238e..9eda8cff 100644 --- a/cde/programs/dtfile/Imakefile +++ b/cde/programs/dtfile/Imakefile @@ -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 \ diff --git a/cde/programs/dtfile/dtcopy/Imakefile b/cde/programs/dtfile/dtcopy/Imakefile index 31475b21..6da100b9 100644 --- a/cde/programs/dtfile/dtcopy/Imakefile +++ b/cde/programs/dtfile/dtcopy/Imakefile @@ -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 -- 2.25.1