Skip to content

Commit

Permalink
Set GIT_SSH_EXEC when ssh is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bergkvist committed Aug 9, 2023
1 parent f40c271 commit 9a4d232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgit2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ 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_EXEC 1\n");
}
if https {
features.push_str("#define GIT_HTTPS 1\n");
Expand Down

1 comment on commit 9a4d232

@Astrabacus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to do this to get it working: bergkvist/git2-rs@9a4d232 (git2-rs doesn't use cmake)

I would love for this to get merged into libgit2.

Please sign in to comment.