Skip to content

Commit

Permalink
update to libgit2 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Jun 9, 2020
1 parent 95e97fd commit 9a7eb04
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ mock: deps
.ONESHELL:
libgit2:
cd /tmp
rm -fr libgit2-0.28.5.tar.gz libgit2-0.28.5
curl -Lv -O https://github.com/libgit2/libgit2/releases/download/v0.28.5/libgit2-0.28.5.tar.gz
tar xvfz libgit2-0.28.5.tar.gz
mkdir -p libgit2-0.28.5/build
cd libgit2-0.28.5/build
rm -fr libgit2-1.0.1.tar.gz libgit2-1.0.1
curl -Lv -O https://github.com/libgit2/libgit2/releases/download/v1.0.1/libgit2-1.0.1.tar.gz
tar xvfz libgit2-1.0.1.tar.gz
mkdir -p libgit2-1.0.1/build
cd libgit2-1.0.1/build
cmake ..
cmake --build .
sudo cp libgit2.pc /usr/lib/pkgconfig/
sudo cp libgit2.so.0.28.5 /usr/lib
sudo cp libgit2.so.1.0.1 /usr/lib
sudo rm -f /usr/lib/libgit2.so.28 /usr/lib/libgit2.so
sudo ln -s /usr/lib/libgit2.so.0.28.5 /usr/lib/libgit2.so.28
sudo ln -s /usr/lib/libgit2.so.1.0.1 /usr/lib/libgit2.so.28
sudo ln -s /usr/lib/libgit2.so.28 /usr/lib/libgit2.so
sudo cp -aR ../include/* /usr/local/include/

Expand Down

0 comments on commit 9a7eb04

Please sign in to comment.