Update termux-elf-cleaner building process

This commit is contained in:
Duy Tran Khanh 2022-08-16 20:56:19 +07:00 committed by GitHub
parent 2aa1aada10
commit 302d15a8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,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 || true
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 '