termux-tools: Unset LD_PRELOAD in dalvikvm

See https://github.com/termux/termux-packages/issues/1736
This commit is contained in:
Fredrik Fornwall 2017-11-01 15:08:50 +01:00
parent 41179c74da
commit d3215a81dd
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.47
TERMUX_PKG_VERSION=0.48
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_CONFFILES="etc/motd"

View File

@ -4,5 +4,5 @@
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
mkdir -p $ANDROID_DATA/dalvik-cache
unset LD_LIBRARY_PATH
unset LD_LIBRARY_PATH LD_PRELOAD
exec /system/bin/dalvikvm -Djava.io.tmpdir=@TERMUX_PREFIX@/tmp "$@"