Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto-patchelf: don't resolve symlinks if basenames don't match
The auto-patchelf python script assembles a list of library (so=shared object) file names and their paths. This helps speed up the discovery of library files later when patching elf files. As further optimization, if a symlink points to a library file, the script uses the resolved path and file name. However, this produces a broken list entry if the symlink's target name doesn't match the symlink's name. A symptom of the bug, affecting the `tsm-client` package, is fixed in #172372 . The commit at hand stops resolving symlinks if the target name differs from the symlink's name. The commit has been authored by layus (Guillaume Maudoux <layus.on@gmail.com>) in pull request comment #172372 (comment)
- Loading branch information