binary_distribution: relocate x-pie-executable files (#24854)

This commit is contained in:
eugeneswalker
2021-07-13 07:53:35 -07:00
committed by GitHub
parent aaad65fbd8
commit 09540d411e

View File

@@ -583,7 +583,7 @@ def get_buildfile_manifest(spec):
added = True added = True
if relocate.needs_binary_relocation(m_type, m_subtype): if relocate.needs_binary_relocation(m_type, m_subtype):
if ((m_subtype in ('x-executable', 'x-sharedlib') if ((m_subtype in ('x-executable', 'x-sharedlib', 'x-pie-executable')
and sys.platform != 'darwin') or and sys.platform != 'darwin') or
(m_subtype in ('x-mach-binary') (m_subtype in ('x-mach-binary')
and sys.platform == 'darwin') or and sys.platform == 'darwin') or