Skip to content

Commit

Permalink
libgit2: Fix build with libssh2
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnt4n committed Mar 2, 2024
1 parent ba42d64 commit 692efaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libgit2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
cfg.include(path);
}
features.push_str("#define GIT_SSH 1\n");
features.push_str("#define GIT_SSH_MEMORY_CREDENTIALS 1\n");
features.push_str("#define GIT_SSH_LIBSSH2 1\n");
features.push_str("#define GIT_SSH_LIBSSH2_MEMORY_CREDENTIALS 1\n");
}
if https {
features.push_str("#define GIT_HTTPS 1\n");
Expand Down

0 comments on commit 692efaf

Please sign in to comment.