diff options
author | Patrick Gartung <gartung@fnal.gov> | 2020-02-19 11:41:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 11:41:02 -0600 |
commit | 14025e89f63327bac5bbab081b227411ffda4623 (patch) | |
tree | 67497d5a438fa864a9d26773d6081d19ac490c11 | |
parent | f2aca86502eded1500489cd13799d8826e6fc9d2 (diff) | |
download | spack-14025e89f63327bac5bbab081b227411ffda4623.tar.gz spack-14025e89f63327bac5bbab081b227411ffda4623.tar.bz2 spack-14025e89f63327bac5bbab081b227411ffda4623.tar.xz spack-14025e89f63327bac5bbab081b227411ffda4623.zip |
Buildcache: join rpaths returned by get_existing_elf_rpaths with ':'. (#15086)
This reproduces the behavior expected by patchelf_is_relocatable test.
-rw-r--r-- | lib/spack/spack/relocate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/relocate.py b/lib/spack/spack/relocate.py index 87de08c9b2..6847127efb 100644 --- a/lib/spack/spack/relocate.py +++ b/lib/spack/spack/relocate.py @@ -693,7 +693,7 @@ def file_is_relocatable(file, paths_to_relocate=None): if platform.system().lower() == 'linux': if m_subtype == 'x-executable' or m_subtype == 'x-sharedlib': - rpaths = set(get_existing_elf_rpaths(file)) + rpaths = ':'.join(get_existing_elf_rpaths(file)) set_of_strings.discard(rpaths) if platform.system().lower() == 'darwin': if m_subtype == 'x-mach-binary': |