Browse Source

unset LD_PRELOAD in su because magist 16.4 is 32 bit only

android-5
Oliver Schmidhauser 7 years ago
committed by Fredrik Fornwall
parent
commit
ea368bb55d
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/su

2
packages/termux-tools/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.53
TERMUX_PKG_VERSION=0.54
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DEPENDS="termux-am"

2
packages/termux-tools/su

@ -1,6 +1,6 @@
#!/data/data/com.termux/files/usr/bin/sh
unset LD_LIBRARY_PATH
unset LD_LIBRARY_PATH LD_PRELOAD
for p in /system/xbin/su /system/bin/su /su/bin/su /sbin/su /magisk/.core/bin/su
do

Loading…
Cancel
Save