Fixed MSVC libssh2 static build.
authorGuenter Knauf <lists@gknw.net>
Thu, 1 Nov 2012 00:03:12 +0000 (01:03 +0100)
committerGuenter Knauf <lists@gknw.net>
Thu, 1 Nov 2012 00:03:12 +0000 (01:03 +0100)
Since libssh2 supports now agent stuff it also depends on user32.lib.
Posted to the list by Jan Ehrhardt.

winbuild/MakefileBuild.vc

index d04787918a724425521cb916cacee45801b5258e..c5450c1144b7747da4afa8dc9b47ee46a66c99a8 100644 (file)
@@ -132,7 +132,7 @@ SSH2_LIBS   = libssh2.lib
 USE_SSH2    = true\r
 SSH2        = dll\r
 !ELSEIF "$(WITH_SSH2)"=="static"\r
-SSH2_LIBS   = libssh2_a_debug.lib\r
+SSH2_LIBS   = libssh2_a.lib user32.lib\r
 USE_SSH2    = true\r
 SSH2        = static\r
 !ENDIF\r