Buildcache: join rpaths returned by get_existing_elf_rpaths with ':'. (#15086)
This reproduces the behavior expected by patchelf_is_relocatable test.
This commit is contained in:
parent
f2aca86502
commit
14025e89f6
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue