From 0f7c606cd32b26d05f74251162c7e2a2c9991fcc Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Tue, 11 Jun 2024 09:58:40 +0200 Subject: [PATCH] fix path to source in Android build script --- scripts/build-android-libs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build-android-libs.sh b/scripts/build-android-libs.sh index bfa55e5d26..a0f029d2f8 100755 --- a/scripts/build-android-libs.sh +++ b/scripts/build-android-libs.sh @@ -21,15 +21,14 @@ # This script builds binaries for all Android architectures. They are placed in the directory 'out'. -# The libheif source has to be unpacked to a directory named "libheif-1.16.2" (replace version number with the value of HEIF_VERSION below). +# The script should be run in the root directory of the libheif sources. # The configuration below builds libheif with heic decoding only. # Set these variables to suit your needs NDK_PATH= ... # for example .../android-sdk/sdk/ndk/25.1.8937393 TOOLCHAIN=clang -ANDROID_VERSION=19 # the minimum version of Android to support -HEIF_VERSION=1.16.2 +ANDROID_VERSION=24 # the minimum version of Android to support function build { mkdir -p build/$1 @@ -58,7 +57,8 @@ function build { -DCMAKE_INSTALL_PREFIX=../../out/$1 \ -DCMAKE_BUILD_TYPE=Release \ -Dld-version-script=OFF \ - ../../libheif-${HEIF_VERSION} + ../.. + make VERBOSE=1 make install cd ../..