diff --git a/cde/programs/dthelp/dthelpdemo/Imakefile b/cde/programs/dthelp/dthelpdemo/Imakefile index d02c49543..8c6b85aca 100644 --- a/cde/programs/dthelp/dthelpdemo/Imakefile +++ b/cde/programs/dthelp/dthelpdemo/Imakefile @@ -17,6 +17,12 @@ DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) SYS_LIBRARIES = DtClientSysLibs $(CXXLIB) +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.c HourGlass.c HelpCache.c OBJS = Main.o HourGlass.o HelpCache.o diff --git a/cde/programs/dthelp/dthelpgen/Imakefile b/cde/programs/dthelp/dthelpgen/Imakefile index d6c062190..9bb1ca428 100644 --- a/cde/programs/dthelp/dthelpgen/Imakefile +++ b/cde/programs/dthelp/dthelpgen/Imakefile @@ -11,6 +11,12 @@ SYS_LIBRARIES = DtClientSysLibs $(CXXLIB) EXTRA_INCLUDES = -I$(DTHELPSRC) +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 = helpgen.c version.c OBJS = helpgen.o version.o diff --git a/cde/programs/dthelp/dthelpprint/Imakefile b/cde/programs/dthelp/dthelpprint/Imakefile index 0db5ce168..a81a54506 100644 --- a/cde/programs/dthelp/dthelpprint/Imakefile +++ b/cde/programs/dthelp/dthelpprint/Imakefile @@ -16,6 +16,12 @@ SYS_LIBRARIES = DtClientSysLibs -lw $(CXXLIB) SYS_LIBRARIES = DtClientSysLibs $(CXXLIB) #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.c Initialize.c PrintUtil.c PrintTopics.c PrintManStrFile.c version.c OBJS = Main.o Initialize.o PrintUtil.o PrintTopics.o PrintManStrFile.o version.o diff --git a/cde/programs/dthelp/dthelpview/Imakefile b/cde/programs/dthelp/dthelpview/Imakefile index 1875a14d0..df38f4ed8 100644 --- a/cde/programs/dthelp/dthelpview/Imakefile +++ b/cde/programs/dthelp/dthelpview/Imakefile @@ -1,6 +1,12 @@ XCOMM $XConsortium: Imakefile /main/7 1996/09/14 15:26:44 drk $ PROGRAMS = dthelpview +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 + DEFINES = -D_BMS INCLUDES = -I.