aboutsummaryrefslogtreecommitdiff
path: root/extra/libgit2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-04 23:35:09 +0300
committerCem Keylan <cem@ckyln.com>2020-06-04 23:35:09 +0300
commitfeaa03dca90aa6999a5f85f132547a089b302c97 (patch)
tree656513f79c407a3bce2efe2bee42cc163b7bdf92 /extra/libgit2/build
parent70851ea11a59822167db5b7d57aeea1a2cd38513 (diff)
downloadrepository-feaa03dca90aa6999a5f85f132547a089b302c97.tar.gz
libgit2: bump to 1.0.1
Diffstat (limited to 'extra/libgit2/build')
-rwxr-xr-xextra/libgit2/build9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/libgit2/build b/extra/libgit2/build
index d172c0aa..acd4c60d 100755
--- a/extra/libgit2/build
+++ b/extra/libgit2/build
@@ -1,7 +1,12 @@
#!/bin/sh -e
+export DESTDIR="$1"
mkdir build && cd build
-cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+
cmake --build .
-DESTDIR="$1" cmake --install .
+cmake --install .