From 09540d411e0054bfcac0b5d84909aef30f44b179 Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Tue, 13 Jul 2021 07:53:35 -0700 Subject: binary_distribution: relocate x-pie-executable files (#24854) --- lib/spack/spack/binary_distribution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index a9a2cf6af2..31ac93cffe 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -583,7 +583,7 @@ def get_buildfile_manifest(spec): added = True 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 (m_subtype in ('x-mach-binary') and sys.platform == 'darwin') or -- cgit v1.2.3-60-g2f50