diff --git a/Makefile b/Makefile index d04c42d562..121b2488e5 100644 --- a/Makefile +++ b/Makefile @@ -277,7 +277,7 @@ ifeq ($(OSARCH),SunOS) SOLINK=-shared -fpic -L/usr/local/ssl/lib endif -ifeq ($(OSARCH),mingw32) +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) SOLINK=-Xlinker -r endif