Skip to content

Commit

Permalink
link libmediandk needed for ffmpeg mediacodec
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Nov 16, 2024
1 parent 2d343b5 commit 03553ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions circle_scripts/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ cd $_s_/jni-c-toxcore/; export V=1;$GCC -O3 -fPIC -g -shared \
"$_toolchain_"/arm-linux-androideabi/sysroot/usr/lib/libavcodec.a \
"$_toolchain_"/arm-linux-androideabi/sysroot/usr/lib/libavutil.a \
coffeecatch.c coffeejni.c \
-lm -landroid "$_NDK_"/sources/android/cpufeatures/cpu-features2.c || exit 1
-lm -landroid -lmediandk "$_NDK_"/sources/android/cpufeatures/cpu-features2.c || exit 1

res=$?

Expand Down Expand Up @@ -1262,7 +1262,7 @@ cd $_s_/jni-c-toxcore/; export V=1;$GCC -O3 -fPIC -g -shared \
"$_toolchain_"/"$AND_TOOLCHAIN_ARCH"/sysroot/usr/lib/libavcodec.a \
"$_toolchain_"/"$AND_TOOLCHAIN_ARCH"/sysroot/usr/lib/libavutil.a \
coffeecatch.c coffeejni.c \
-lm -landroid "$_NDK_"/sources/android/cpufeatures/cpu-features2.c || exit 1
-lm -landroid -lmediandk "$_NDK_"/sources/android/cpufeatures/cpu-features2.c || exit 1

res=$?

Expand Down Expand Up @@ -1698,7 +1698,7 @@ cd $_s_/jni-c-toxcore/; export V=1;$GCC -O3 -fPIC -g -shared -Wall -Wextra \
"$_toolchain_"/x86/sysroot/usr/lib/libavcodec.a \
"$_toolchain_"/x86/sysroot/usr/lib/libavutil.a \
coffeecatch.c coffeejni.c \
-lm -landroid "$_NDK_"/sources/android/cpufeatures/cpu-features.c || exit 1
-lm -landroid -lmediandk "$_NDK_"/sources/android/cpufeatures/cpu-features.c || exit 1

res=$?

Expand Down Expand Up @@ -2131,7 +2131,7 @@ cd $_s_/jni-c-toxcore/; export V=1;$GCC -O3 -fPIC -g -shared -Wall -Wextra \
"$_toolchain_"/"$AND_TOOLCHAIN_ARCH"/sysroot/usr/lib/libavcodec.a \
"$_toolchain_"/"$AND_TOOLCHAIN_ARCH"/sysroot/usr/lib/libavutil.a \
coffeecatch.c coffeejni.c \
-lm -landroid "$_NDK_"/sources/android/cpufeatures/cpu-features.c || exit 1
-lm -landroid -lmediandk "$_NDK_"/sources/android/cpufeatures/cpu-features.c || exit 1

res=$?

Expand Down

0 comments on commit 03553ba

Please sign in to comment.