mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix build for android
Patch libgit2 build Signed-off-by: rmultan <multan.rafal.k@gmail.com>
This commit is contained in:
parent
ae734603b9
commit
29138b98ae
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue