Skip to content

Commit

Permalink
libgit2-sys: Fix build issue with libssh2
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnt4n committed May 15, 2024
1 parent c074cab commit 3bde019
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 3bde019

Please sign in to comment.