diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index eeb4311ba..b6d9eb09c 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -153,7 +153,9 @@ ZLIB = 1 endif ifeq ($(findstring -ssh2,$(CFG)),-ssh2) SSH2 = 1 +ifneq ($(findstring -winssl,$(CFG)),-winssl) SSL = 1 +endif ZLIB = 1 endif ifeq ($(findstring -ssl,$(CFG)),-ssl) diff --git a/src/Makefile.m32 b/src/Makefile.m32 index a6a5b7733..d941da952 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -168,7 +168,9 @@ ZLIB = 1 endif ifeq ($(findstring -ssh2,$(CFG)),-ssh2) SSH2 = 1 +ifneq ($(findstring -winssl,$(CFG)),-winssl) SSL = 1 +endif ZLIB = 1 endif ifeq ($(findstring -ssl,$(CFG)),-ssl)