Add /system/lib to java.library.path

This commit is contained in:
Anton Liaposhchenko 2024-06-15 19:25:02 +03:00
parent 93acac930b
commit 9f552b2c59
2 changed files with 8 additions and 2 deletions

View File

@ -9,4 +9,7 @@ for LIB_DIR in $BASE_DIR/lib/{$ABIS}; do
unset -v LIB_DIR
done
app_process -Djava.class.path=$BASE_DIR/classes.dex -Djava.library.path=$LIB_DIR /sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"
app_process \
-Djava.class.path=$BASE_DIR/classes.dex \
-Djava.library.path=$LIB_DIR:/system/lib64:/system/lib \
/sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"

View File

@ -9,4 +9,7 @@ for LIB_DIR in $BASE_DIR/lib/{$ABIS}; do
unset -v LIB_DIR
done
app_process -Djava.class.path=$BASE_DIR/classes.dex -Djava.library.path=$LIB_DIR /sdcard ua.pp.antonlyap.ffmpeg.CLI ffprobe "$@"
app_process \
-Djava.class.path=$BASE_DIR/classes.dex \
-Djava.library.path=$LIB_DIR:/system/lib64:/system/lib \
/sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"