mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:03:23 +00:00
Android build.sh: don't try to link against host http_parser
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a69852e56d
commit
8adcc406c7
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ if [ ! -e libgit2-${LIBGIT2_VERSION} ] ; then
|
|||
tar -zxf libgit2-${LIBGIT2_VERSION}.tar.gz
|
||||
fi
|
||||
if [ ! -e "$PKG_CONFIG_LIBDIR/libgit2.pc" ] ; then
|
||||
# We don't want to find the HTTP_Parser package of the build host by mistake
|
||||
perl -pi -e 's/FIND_PACKAGE\(HTTP_Parser\)/#FIND_PACKAGE(HTTP_Parser)/' libgit2-${LIBGIT2_VERSION}/CMakeLists.txt
|
||||
mkdir -p libgit2-build-$ARCH
|
||||
pushd libgit2-build-$ARCH
|
||||
cmake -DCMAKE_SYSTEM_NAME=Android -DSHA1_TYPE=builtin \
|
||||
|
|
Loading…
Add table
Reference in a new issue