Skip to content

Commit 692efaf

Browse files
committed
libgit2: Fix build with libssh2
1 parent ba42d64 commit 692efaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libgit2-sys/build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
180180
cfg.include(path);
181181
}
182182
features.push_str("#define GIT_SSH 1\n");
183-
features.push_str("#define GIT_SSH_MEMORY_CREDENTIALS 1\n");
183+
features.push_str("#define GIT_SSH_LIBSSH2 1\n");
184+
features.push_str("#define GIT_SSH_LIBSSH2_MEMORY_CREDENTIALS 1\n");
184185
}
185186
if https {
186187
features.push_str("#define GIT_HTTPS 1\n");

0 commit comments

Comments
 (0)