summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d04c42d56..121b2488e 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