mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
winbuild: add basic support for OpenSSL 1.1.x
- Auto-detect OpenSSL 1.1 libs Closes https://github.com/curl/curl/pull/1322
This commit is contained in:
parent
bfb2a0ad77
commit
db87bcfcf2
@ -114,11 +114,19 @@ LFLAGS = $(LFLAGS) "/LIBPATH:$(DEVEL_LIB)"
|
||||
|
||||
|
||||
!IF "$(WITH_SSL)"=="dll"
|
||||
!IF EXISTS("$(DEVEL_LIB)\libssl.lib")
|
||||
SSL_LIBS = libssl.lib libcrypto.lib
|
||||
!ELSE
|
||||
SSL_LIBS = libeay32.lib ssleay32.lib
|
||||
!ENDIF
|
||||
USE_SSL = true
|
||||
SSL = dll
|
||||
!ELSEIF "$(WITH_SSL)"=="static"
|
||||
!IF EXISTS("$(DEVEL_LIB)\libssl.lib")
|
||||
SSL_LIBS = libssl.lib libcrypto.lib gdi32.lib user32.lib crypt32.lib
|
||||
!ELSE
|
||||
SSL_LIBS = libeay32.lib ssleay32.lib gdi32.lib user32.lib crypt32.lib
|
||||
!ENDIF
|
||||
USE_SSL = true
|
||||
SSL = static
|
||||
!ENDIF
|
||||
|
Loading…
Reference in New Issue
Block a user