Skip to content

Commit e10c2ee

Browse files
committed
Uprev vendor/libgit2 to v0.99
This uprevs libgit2 to the latest and greatest.
1 parent 30de4b2 commit e10c2ee

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

git_dynamic.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ package git
66
#include <git2.h>
77
#cgo pkg-config: libgit2
88
9-
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28
10-
# error "Invalid libgit2 version; this git2go supports libgit2 v0.28"
9+
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 99
10+
# error "Invalid libgit2 version; this git2go supports libgit2 v0.99"
1111
#endif
1212
1313
*/

git_static.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ package git
88
#cgo !windows pkg-config: --static ${SRCDIR}/static-build/install/lib/pkgconfig/libgit2.pc
99
#include <git2.h>
1010
11-
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28
12-
# error "Invalid libgit2 version; this git2go supports libgit2 v0.28"
11+
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 99
12+
# error "Invalid libgit2 version; this git2go supports libgit2 v0.99"
1313
#endif
1414
1515
*/

script/build-libgit2.sh

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ cmake -DTHREADSAFE=ON \
4141
-DCMAKE_C_FLAGS=-fPIC \
4242
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
4343
-DCMAKE_INSTALL_PREFIX="${BUILD_PATH}/install" \
44+
-DINCLUDE_INSTALL_DIR="${BUILD_PATH}/install/include" \
45+
-DLIB_INSTALL_DIR="${BUILD_PATH}/install/lib" \
4446
"${VENDORED_PATH}" &&
4547

4648
exec cmake --build . --target install

0 commit comments

Comments
 (0)