Skip to content

Commit 0f7c606

Browse files
committedJun 11, 2024
fix path to source in Android build script
1 parent 4fc6587 commit 0f7c606

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎scripts/build-android-libs.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121

2222

2323
# This script builds binaries for all Android architectures. They are placed in the directory 'out'.
24-
# 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).
24+
# The script should be run in the root directory of the libheif sources.
2525

2626
# The configuration below builds libheif with heic decoding only.
2727

2828
# Set these variables to suit your needs
2929
NDK_PATH= ... # for example .../android-sdk/sdk/ndk/25.1.8937393
3030
TOOLCHAIN=clang
31-
ANDROID_VERSION=19 # the minimum version of Android to support
32-
HEIF_VERSION=1.16.2
31+
ANDROID_VERSION=24 # the minimum version of Android to support
3332

3433
function build {
3534
mkdir -p build/$1
@@ -58,7 +57,8 @@ function build {
5857
-DCMAKE_INSTALL_PREFIX=../../out/$1 \
5958
-DCMAKE_BUILD_TYPE=Release \
6059
-Dld-version-script=OFF \
61-
../../libheif-${HEIF_VERSION}
60+
../..
61+
6262
make VERBOSE=1
6363
make install
6464
cd ../..

0 commit comments

Comments
 (0)