build-package.sh: run termux-elf-cleaner for ./opt
This commit is contained in:
parent
746bb00a36
commit
51866303ed
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user