winbuild: Updated winbuild scripts to add schannel

This commit is contained in:
Marc Hoersken
2012-06-11 19:03:14 +02:00
committed by Daniel Stenberg
parent 7da6a9128b
commit cb142cf217
3 changed files with 13 additions and 6 deletions

View File

@@ -73,6 +73,10 @@ SSL = dll
!ELSEIF "$(WITH_SSL)"=="static"
USE_SSL = true
SSL = static
!ELSEIF "$(WITH_SSL)"=="schannel"
USE_SSL = true
USE_SSPI = true
SSL = schannel
!ENDIF
!IF "$(WITH_ZLIB)"=="dll"

View File

@@ -97,16 +97,19 @@ LFLAGS = $(LFLAGS) "/LIBPATH:$(DEVEL_LIB)"
!IF "$(WITH_SSL)"=="dll"
SSL_LIBS = libeay32.lib ssleay32.lib
SSL_CFLAGS = /DUSE_SSLEAY /I"$(DEVEL_INCLUDE)/openssl"
USE_SSL = true
SSL = dll
!ELSEIF "$(WITH_SSL)"=="static"
SSL_LIBS = libeay32.lib ssleay32.lib gdi32.lib user32.lib advapi32.lib
SSL_CFLAGS = /DUSE_SSLEAY /I"$(DEVEL_INCLUDE)/openssl"
USE_SSL = true
SSL = static
!ENDIF
!IFDEF USE_SSL
SSL_CFLAGS = /DUSE_SSLEAY /I"$(DEVEL_INCLUDE)/openssl"
!ELSEIF "$(WITH_SSL)"=="schannel"
USE_SSL = true
USE_SSPI = yes
SSL_CFLAGS = /DUSE_SSL /DUSE_SCHANNEL
SSL = schannel
!ENDIF