From 0bb5ff5d1a13f51344cdc666d08db7aefc4dc5a9 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Fri, 13 Apr 2012 13:17:57 +0200 Subject: schannel: Updated mingw32 makefiles --- src/Makefile.m32 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Makefile.m32') diff --git a/src/Makefile.m32 b/src/Makefile.m32 index 5aea90829..994161406 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -123,6 +123,11 @@ endif ifeq ($(findstring -metalink,$(CFG)),-metalink) METALINK = 1 endif +ifeq ($(findstring -schannel,$(CFG)),-schannel) +SCHANNEL = 1 +SSPI = 1 +SSL = 1 +endif INCLUDES = -I. -I.. -I../include -I../lib @@ -151,6 +156,9 @@ ifdef SSH2 curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2 endif ifdef SSL +ifdef SCHANNEL + CFLAGS += -DUSE_SSL -DUSE_SCHANNEL +else ifndef OPENSSL_LIBPATH OPENSSL_LIBS = -lssl -lcrypto ifeq "$(wildcard $(OPENSSL_PATH)/out)" "$(OPENSSL_PATH)/out" @@ -169,6 +177,7 @@ ifdef SSL CFLAGS += -DUSE_SSLEAY curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS) endif +endif ifdef ZLIB INCLUDES += -I"$(ZLIB_PATH)" CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H -- cgit v1.2.3