post_install() {
if [[ -e "/data/data/com.termux/files/usr/opt/ndk-multilib/cross-compiler-rt" ]]; then
    find /data/data/com.termux/files/usr/opt/ndk-multilib/cross-compiler-rt -type f ! -name "lib*-aarch64-*" -exec ln -sf "{}" /data/data/com.termux/files/usr/lib/clang/21/lib/linux \;
fi
exit 0
}
post_upgrade() {
post_install
}
pre_remove() {
find /data/data/com.termux/files/usr/lib/clang/21/lib/linux -type l ! -name "lib*-aarch64-*" -exec rm -rf "{}" \;
exit 0
}
