mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-13 13:21:03 +00:00
10 lines
370 B
Bash
10 lines
370 B
Bash
termux_step_elf_cleaner() {
|
|
termux_step_elf_cleaner__from_paths . \( -path "./bin/*" -o -path "./lib/*" -o -path "./lib32/*" -o -path "./libexec/*" -o -path "./opt/*" \)
|
|
}
|
|
|
|
termux_step_elf_cleaner__from_paths() {
|
|
# Remove entries unsupported by Android's linker:
|
|
find "$@" -type f -print0 | xargs -r -0 \
|
|
"$TERMUX_ELF_CLEANER" --api-level "$TERMUX_PKG_API_LEVEL"
|
|
}
|