diff --git a/packages/proot/build.sh b/packages/proot/build.sh index 1f7765734..c738a9d9e 100644 --- a/packages/proot/build.sh +++ b/packages/proot/build.sh @@ -5,7 +5,7 @@ TERMUX_PKG_MAINTAINER="@termux" # Just bump commit and version when needed: _COMMIT=336f4787d64e377039143ad2a50139aee4e10ad4 TERMUX_PKG_VERSION=5.1.107 -TERMUX_PKG_REVISION=35 +TERMUX_PKG_REVISION=36 TERMUX_PKG_SRCURL=https://github.com/termux/proot/archive/${_COMMIT}.zip TERMUX_PKG_SHA256=09507f94151467ecc45b82b4300f2fd4579d055446c5122f92b1f34a505eb655 TERMUX_PKG_DEPENDS="libtalloc" diff --git a/packages/proot/termux-chroot b/packages/proot/termux-chroot index 33657317c..1fbb0cc4c 100755 --- a/packages/proot/termux-chroot +++ b/packages/proot/termux-chroot @@ -45,6 +45,11 @@ if [ -d /apex ]; then ARGS="$ARGS -b /apex:/apex" fi +# Android 11. +if [ -e "/linkerconfig/ld.config.txt" ]; then + ARGS="$ARGS -b /linkerconfig/ld.config.txt:/linkerconfig/ld.config.txt" +fi + if [ -f /property_contexts ]; then # Used by getprop (see https://github.com/termux/termux-packages/issues/1076) # but does not exist on Android 8.