Skip to content

Commit

Permalink
[Android] Fix armv6 vcpkg build.
Browse files Browse the repository at this point in the history
Use curl 7.80.0 for non-vcpkg Android build.

Signed-off-by: Vitalii Koshura <[email protected]>
  • Loading branch information
AenBleidd committed Nov 24, 2021
1 parent bd32d11 commit 9208bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/buildAndroidBOINC-CI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set -e
export REV=1
export ARMV6_REV=1
export OPENSSL_VERSION=1.1.1l
export CURL_VERSION=7.78.0
export CURL_VERSION=7.80.0
export NDK_VERSION=21d
export NDK_ARMV6_VERSION=15c

Expand Down Expand Up @@ -306,7 +306,7 @@ vcpkgDir()
arch=$1
shift
vcpkg_dir="$VCPKG_ROOT/installed"

if [ $arch = "armv6" ]; then
vcpkg_dir="$vcpkg_dir/armv6-android"
elif [ $arch = "arm" ]; then
Expand Down
2 changes: 2 additions & 0 deletions android/build_boinc_armv6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ if [ -n "$COMPILEBOINC" ]; then
export _libcurl_pc="$VCPKG_DIR/lib/pkgconfig/libcurl.pc"
fi
./configure --host=armv6-linux --with-boinc-platform="arm-android-linux-gnu" $CONFIG_FLAGS --disable-server --disable-manager --disable-shared --enable-static --disable-largefile
sed -e "s%^CLIENTLIBS *= *.*$%CLIENTLIBS = -lm $STDCPPTC%g" client/Makefile > client/Makefile.out
mv client/Makefile.out client/Makefile
fi
echo MAKE_FLAGS=$MAKE_FLAGS
make $MAKE_FLAGS
Expand Down

0 comments on commit 9208bca

Please sign in to comment.