build: copy libatomic

This commit is contained in:
Zaiming (Stone) Shi 2022-01-13 13:20:01 +01:00
parent a935dcc1f5
commit 3643a55c10
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -121,7 +121,7 @@ cp_dyn_libs() {
cp -L "$so_file" "$target_dir/" cp -L "$so_file" "$target_dir/"
done < <("$FIND" "$rel_dir" -type f \( -name "*.so*" -o -name "beam.smp" \) -print0 \ done < <("$FIND" "$rel_dir" -type f \( -name "*.so*" -o -name "beam.smp" \) -print0 \
| xargs -0 ldd \ | xargs -0 ldd \
| grep -E '(libcrypto)|(libtinfo)' \ | grep -E '(libcrypto)|(libtinfo)|(libatomic)' \
| awk '{print $3}' \ | awk '{print $3}' \
| sort -u) | sort -u)
} }