diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2019-09-15 11:15:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2019-09-15 11:15:29 +0900 |
| commit | 9f5758570a51feca6a468aea6a29377566addd87 (patch) | |
| tree | 66f309325e748781bee6e62f35f7e4dadc51f6fe /android-release | |
| parent | 7f6578aa7d9b2618aed13917c5681b93683a37a7 (diff) | |
Update android build dependencies
Update android build dependencies. Use android NDK r20 and build
aarch64 binary.
Diffstat (limited to 'android-release')
| -rwxr-xr-x | android-release | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/android-release b/android-release index f4c3354d..361eb029 100755 --- a/android-release +++ b/android-release @@ -31,11 +31,12 @@ # version. If you delete this exception statement from all source # files in the program, then also delete it here. -if [ -z "$ANDROID_HOME" ]; then - echo 'No $ANDROID_HOME specified.' +if [ -z "$NDK" ]; then + echo 'No $NDK specified.' exit 1 fi -TOOLCHAIN=$ANDROID_HOME/toolchain + +TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64 PATH=$TOOLCHAIN/bin:$PATH # cd to the directory where this script exists. @@ -49,8 +50,8 @@ if [ -z "$VERSION" ]; then exit 1 fi -DIST_DIR=aria2-$VERSION-android-arm-build1 -arm-linux-androideabi-strip src/aria2c +DIST_DIR=aria2-$VERSION-aarch64-linux-android-build1 +aarch64-linux-android-strip src/aria2c mkdir $DIST_DIR cp AUTHORS COPYING ChangeLog LICENSE.OpenSSL NEWS README.html README.android \ src/aria2c $DIST_DIR |
