Uprev vendor/libgit2 to v0.99

This uprevs libgit2 to the latest and greatest.
This commit is contained in:
lhchavez 2020-02-23 23:05:40 +00:00
parent 30de4b2e26
commit e10c2eeef2
4 changed files with 7 additions and 5 deletions

View File

@ -6,8 +6,8 @@ package git
#include <git2.h>
#cgo pkg-config: libgit2
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28
# error "Invalid libgit2 version; this git2go supports libgit2 v0.28"
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 99
# error "Invalid libgit2 version; this git2go supports libgit2 v0.99"
#endif
*/

View File

@ -8,8 +8,8 @@ package git
#cgo !windows pkg-config: --static ${SRCDIR}/static-build/install/lib/pkgconfig/libgit2.pc
#include <git2.h>
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 28
# error "Invalid libgit2 version; this git2go supports libgit2 v0.28"
#if LIBGIT2_VER_MAJOR != 0 || LIBGIT2_VER_MINOR != 99
# error "Invalid libgit2 version; this git2go supports libgit2 v0.99"
#endif
*/

View File

@ -41,6 +41,8 @@ cmake -DTHREADSAFE=ON \
-DCMAKE_C_FLAGS=-fPIC \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_INSTALL_PREFIX="${BUILD_PATH}/install" \
-DINCLUDE_INSTALL_DIR="${BUILD_PATH}/install/include" \
-DLIB_INSTALL_DIR="${BUILD_PATH}/install/lib" \
"${VENDORED_PATH}" &&
exec cmake --build . --target install

2
vendor/libgit2 vendored

@ -1 +1 @@
Subproject commit ee3307a183e39d602b25fa94831c6fc09e7c1b61
Subproject commit 172239021f7ba04fe7327647b213799853a9eb89