diff options
-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': |