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: