From 29138b98ae9ed3eaf9ab7c01b4d2d958c65c2b4b Mon Sep 17 00:00:00 2001 From: rmultan Date: Thu, 25 Jul 2024 19:42:38 +0200 Subject: [PATCH] Fix build for android Patch libgit2 build Signed-off-by: rmultan --- packaging/android/qmake-build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/android/qmake-build.sh b/packaging/android/qmake-build.sh index 0bc40a091..317cf46db 100755 --- a/packaging/android/qmake-build.sh +++ b/packaging/android/qmake-build.sh @@ -334,6 +334,10 @@ for ARCH in $ARCHITECTURES ; do -D_OPENSSL_VERSION="${OPENSSL_VERSION}" \ -DCMAKE_DISABLE_FIND_PACKAGE_HTTP_Parser=TRUE \ ../libgit2/ + + # This is a dirty fix for https://github.com/libgit2/libgit2/issues/6574 + find ../libgit2 -name 'CMakeLists.txt' -exec sed -i 's|C_STANDARD 90|C_STANDARD 99|' {} \; + make make install # Patch away pkg-config dependency to zlib, its there, i promise