build-package.sh: run termux-elf-cleaner for ./opt

This commit is contained in:
Leonid Pliushch 2021-07-29 22:38:21 +03:00
parent 746bb00a36
commit 51866303ed
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -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: