Update termux-elf-cleaner building process

This commit is contained in:
Duy Tran Khanh 2022-09-01 05:27:29 +07:00 committed by GitHub
parent b0f46f09bf
commit fa929ecc63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,9 @@ if [ "$BUILD_IOS" != "1" ]; then
unset AR AS CC CXX LD OBJCOPY RANLIB STRIP CPPFLAGS LDFLAGS
git clone https://github.com/termux/termux-elf-cleaner
cd termux-elf-cleaner
make CFLAGS=__ANDROID_API__=24 termux-elf-cleaner
chmod +x termux-elf-cleaner
autoreconf --install
bash configure
make CFLAGS=__ANDROID_API__=24
cd ..
findexec() { find $1 -type f -name "*" -not -name "*.o" -exec sh -c '