Link with C++ linker
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 11:33:49 +0000 (11:33 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 11:33:49 +0000 (11:33 +0000)
cde/programs/dthelp/dthelpdemo/Imakefile
cde/programs/dthelp/dthelpgen/Imakefile
cde/programs/dthelp/dthelpprint/Imakefile
cde/programs/dthelp/dthelpview/Imakefile

index d02c49543fa99dfe52b30b3ddeacbe5450379f87..8c6b85acad404b61b2247d638753535a67765d6c 100644 (file)
@@ -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
 
index d6c0621904dd15a11852e1c71a5c189dbcc8603d..9bb1ca428a05d9e0e2b5d5f1d8595a042198d62c 100644 (file)
@@ -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
 
index 0db5ce168b63efb62dcfc1e0ab94d11472e56da0..a81a54506c16a48b5249a95be69c81e1d09831bb 100644 (file)
@@ -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
 
index 1875a14d0d35a47e3481ee81c993ff4daeaa797c..df38f4ed8e0f9eff45ff8ae5d7fdd4036ffeb090 100644 (file)
@@ -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.