Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add_external_libs: ensure write permission on libraries
`std::fs::copy` also copies the original file permissions. If the original library at `lib_path` was not writable, e.g. because it had its permission set to 0o555, the copy inherited the same permission causing later file manipulations, like `patchelf --set-soname` to fail.
- Loading branch information