From: Peter Howkins Date: Mon, 12 Mar 2012 11:19:46 +0000 (+0000) Subject: Link with C++ linker X-Git-Tag: 2.2.0a~26^2~106 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=12598a47802b6fbcf5e5730c82d66275c1d50a07;p=oweals%2Fcde.git Link with C++ linker --- diff --git a/cde/programs/dtdocbook/instant/Imakefile b/cde/programs/dtdocbook/instant/Imakefile index 02a322a3..fdf05f81 100644 --- a/cde/programs/dtdocbook/instant/Imakefile +++ b/cde/programs/dtdocbook/instant/Imakefile @@ -12,6 +12,12 @@ EXTRA_LIBRARIES = -lsocket -lnsl -lgen -lm EXTRA_LIBRARIES = -lm #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 + OBJS = main.o util.o info.o translate.o traninit.o tranvar.o tables.o browse.o SRCS = main.c util.c info.c translate.c traninit.c tranvar.c tables.c browse.c