switch dllMain.cc on the presence of a C++ compiler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user