From d2d09a48f0c992d18115969f4f1e78096bdb1574 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 15 Jul 1999 23:05:19 +0000 Subject: [PATCH] switch dllMain.cc on the presence of a C++ compiler --- src/libCom/Makefile.Host | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libCom/Makefile.Host b/src/libCom/Makefile.Host index 47837e03d..c10e4f61a 100644 --- a/src/libCom/Makefile.Host +++ b/src/libCom/Makefile.Host @@ -90,7 +90,8 @@ LIBSRCS += $(patsubst %,osdTime.cc,$(strip $(CPLUSPLUS))) # WIN32 has no getopt, we add it to the Com lib, # special initialisation is done in winmain.c -LIBSRCS_WIN32 := getopt.c dllmain.cc getLastWSAErrorAsString.c +LIBSRCS_WIN32 := getopt.c getLastWSAErrorAsString.c +LIBSRCS_WIN32 += $(patsubst %,dllmain.cc,$(strip $(CPLUSPLUS))) # Library to build: # lib$(LIBRARY).a or ..dll/..exp/..lib