static SSL windows builds: add more libs to the link
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Dec 2011 14:52:25 +0000 (15:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Dec 2011 14:52:25 +0000 (15:52 +0100)
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

winbuild/MakefileBuild.vc

index 4ada965..6961f5c 100644 (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