diff --git a/cde/programs/dtcalc/Imakefile b/cde/programs/dtcalc/Imakefile index 85413ff12..17823c266 100644 --- a/cde/programs/dtcalc/Imakefile +++ b/cde/programs/dtcalc/Imakefile @@ -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 \ diff --git a/cde/programs/dtpad/Imakefile b/cde/programs/dtpad/Imakefile index c4affc35e..4e34b1380 100644 --- a/cde/programs/dtpad/Imakefile +++ b/cde/programs/dtpad/Imakefile @@ -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 \ diff --git a/cde/programs/dtscreen/Imakefile b/cde/programs/dtscreen/Imakefile index 338000657..b011791d7 100644 --- a/cde/programs/dtscreen/Imakefile +++ b/cde/programs/dtscreen/Imakefile @@ -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 \