Skip to content

Commit

Permalink
link agains libandroid, fixes #809
Browse files Browse the repository at this point in the history
  • Loading branch information
suencooper committed Sep 2, 2023
1 parent afeb5cc commit 720edd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/function-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ get_common_linked_libraries() {

# SUPPORTED ON API LEVEL 24 AND LATER
if [[ ${API} -ge 24 ]]; then
echo "-lc -lm -ldl -llog -lcamera2ndk -lmediandk ${COMMON_LIBRARY_PATHS}"
echo "-lc -lm -ldl -llog -landroid -lcamera2ndk -lmediandk ${COMMON_LIBRARY_PATHS}"
else
echo "-lc -lm -ldl -llog ${COMMON_LIBRARY_PATHS}"
echo "-lc -lm -ldl -llog -landroid ${COMMON_LIBRARY_PATHS}"
echo -e "INFO: Building ffmpeg without native camera API which is not supported on Android API Level ${API}\n" 1>>"${BASEDIR}"/build.log 2>&1
fi
;;
Expand Down

0 comments on commit 720edd0

Please sign in to comment.