From ca8ede6c1facc9a08900471d9d62805e084cd562 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 16:27:41 +0000 Subject: [PATCH] Use C++ linker --- cde/programs/dtappbuilder/src/abmf/Imakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cde/programs/dtappbuilder/src/abmf/Imakefile b/cde/programs/dtappbuilder/src/abmf/Imakefile index abb7571b..ebda0774 100644 --- a/cde/programs/dtappbuilder/src/abmf/Imakefile +++ b/cde/programs/dtappbuilder/src/abmf/Imakefile @@ -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) -- 2.25.1