diff --git a/Makefile b/Makefile index 764c166a942029bfb016498c09f80ddbb78d7e85..d04c42d56231eee0e126a0fdf88e4ba184dfa600 100644 --- a/Makefile +++ b/Makefile @@ -277,6 +277,10 @@ ifeq ($(OSARCH),SunOS) SOLINK=-shared -fpic -L/usr/local/ssl/lib endif +ifeq ($(OSARCH),mingw32) + SOLINK=-Xlinker -r +endif + # This is used when generating the doxygen documentation ifneq ($(DOT),:) HAVEDOT=yes