summaryrefslogtreecommitdiff
path: root/script/build-libgit2.sh
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2021-09-05 17:04:40 -0700
committerGitHub <[email protected]>2021-09-05 17:04:40 -0700
commit70e5e419cf0cab31553b106267a0296f3cd672d9 (patch)
treeb8bed08c5cc6236e542f09c18d3823e34e161968 /script/build-libgit2.sh
parentb983e1daebf528443e2a3954cd595fa3664ec93f (diff)
Add support for managed SSH transport #minor (#814)
This change drops the (hard) dependency on libssh2 and instead uses Go's implementation of SSH when libgit2 is not built with it.
Diffstat (limited to 'script/build-libgit2.sh')
-rwxr-xr-xscript/build-libgit2.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/build-libgit2.sh b/script/build-libgit2.sh
index 90a225c..e490b4b 100755
--- a/script/build-libgit2.sh
+++ b/script/build-libgit2.sh
@@ -68,6 +68,7 @@ cmake -DTHREADSAFE=ON \
-DBUILD_SHARED_LIBS"=${BUILD_SHARED_LIBS}" \
-DREGEX_BACKEND=builtin \
-DUSE_HTTPS=OFF \
+ -DUSE_SSH=OFF \
-DCMAKE_C_FLAGS=-fPIC \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_INSTALL_PREFIX="${BUILD_INSTALL_PREFIX}" \