From 51866303edf6748c492d7fccd552e6a3ac2aa58f Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 29 Jul 2021 22:38:21 +0300 Subject: [PATCH] build-package.sh: run termux-elf-cleaner for ./opt --- scripts/build/termux_step_massage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/termux_step_massage.sh b/scripts/build/termux_step_massage.sh index 787310311..427defd26 100644 --- a/scripts/build/termux_step_massage.sh +++ b/scripts/build/termux_step_massage.sh @@ -29,7 +29,7 @@ termux_step_massage() { if [ "$TERMUX_PKG_NO_ELF_CLEANER" != "true" ]; then # Remove entries unsupported by Android's linker: - find . \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" \) -type f -print0 | xargs -r -0 "$TERMUX_ELF_CLEANER" + find . \( -path "./bin/*" -o -path "./lib/*" -o -path "./libexec/*" -o -path "./opt/*" \) -type f -print0 | xargs -r -0 "$TERMUX_ELF_CLEANER" fi # Fix shebang paths: