Skip to content

Commit fd17587

Browse files
authored
Update extconf.rb
Fixes #746.
1 parent ca994bb commit fd17587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/rugged/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def sys(cmd)
8888
# in $LIBS or the final linking stage won't pick them up
8989
if Gem.win_platform?
9090
$LDFLAGS << " " + "-L#{Dir.pwd}/deps/winhttp"
91-
$LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32 -lz"
91+
$LIBS << " -lwinhttp -lcrypt32 -lrpcrt4 -lole32 -lz -lssh2"
9292
else
9393
pcfile = File.join(LIBGIT2_DIR, "build", "libgit2.pc")
9494
$LDFLAGS << " " + `pkg-config --libs --static #{pcfile}`.strip

0 commit comments

Comments
 (0)