+# Find the right lib folder for dalvikvm. We cannot take LD_LIBRARY_PATH
+# as is since it contains Termux-supplied libraries which may clash with
+# system ones.
+LIBFOLDER=/system/lib
+if test -d /system/lib64; then
+ LIBFOLDER=/system/lib64
+fi
+
+LD_LIBRARY_PATH=$LIBFOLDER \