termux_step_setup_toolchain: print info about applied ndk-patch

This commit is contained in:
Henrik Grimler 2021-08-16 12:13:07 +02:00
parent a84e862365
commit 3f3e2ce49f
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ termux_setup_standalone_toolchain() {
cd $_TERMUX_TOOLCHAIN_TMPDIR/sysroot
for f in $TERMUX_SCRIPTDIR/ndk-patches/*.patch; do
echo "Applying ndk-patch: $(basename $f)"
sed "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" "$f" | \
sed "s%\@TERMUX_HOME\@%${TERMUX_ANDROID_HOME}%g" | \
patch --silent -p1;