static SSL windows builds: add more libs to the link

Starting with some recent OpenSSL versions (1.0.0e was mentioned)
linking with a static openssl requires a set of more libs to be linked
on Windows.

Thanks also to Steve Holme and Martin Storsj for additional feedback.

Bug: http://curl.haxx.se/mail/lib-2011-12/0063.html
Reported by: Ward Willats
This commit is contained in:
Daniel Stenberg 2011-12-07 15:52:25 +01:00
parent 2b24dd870e
commit 9dbe6565d4

View File

@ -99,7 +99,7 @@ SSL_LIBS = libeay32.lib ssleay32.lib
USE_SSL = true
SSL=dll
!ELSEIF "$(WITH_SSL)"=="static"
SSL_LIBS = libeay32.lib ssleay32.lib
SSL_LIBS = libeay32.lib ssleay32.lib gdi32.lib user32.lib advapi32.lib
USE_SSL = true
SSL=static
!ENDIF