aboutsummaryrefslogtreecommitdiff
path: root/core/git
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-21 08:25:32 +0300
committerCem Keylan <cem@ckyln.com>2020-10-21 08:25:32 +0300
commit872138f39be866bfd8082a4249c8e5030aed205b (patch)
treeeeafcfe453abf76e989736008fdbd53eb4c9f7ef /core/git
parent3e5615ed683510e33356dcb7a6005a2abdf79bd1 (diff)
downloadrepository-872138f39be866bfd8082a4249c8e5030aed205b.tar.gz
git: fix build without libressl. Closes #1
Diffstat (limited to 'core/git')
-rwxr-xr-xcore/git/build3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/git/build b/core/git/build
index 9d6637cc..27003088 100755
--- a/core/git/build
+++ b/core/git/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+sed -i '/^\#include.*openssl.*\.h/d' git-compat-util.h
+
cat > config.mak <<EOF
NO_GETTEXT=YesPlease
NO_SVN_TESTS=YesPlease
@@ -9,6 +11,7 @@ NO_NSEC=YesPlease
NO_PYTHON=YesPlease
NO_PERL=YesPlease
NO_SYS_POLL_H=1
+NO_OPENSSL=YesPlease
NO_CROSS_DIRECTORY_HARDLINKS=1
NO_INSTALL_HARDLINKS=1
EOF