summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-07-13 07:53:35 -0700
committerGitHub <noreply@github.com>2021-07-13 07:53:35 -0700
commit09540d411e0054bfcac0b5d84909aef30f44b179 (patch)
tree65af1a927a8eeec8877d6315f78cc78ffb4e12a6 /lib
parentaaad65fbd82cc6e89ae4546f6cb462c6206a2fb9 (diff)
downloadspack-09540d411e0054bfcac0b5d84909aef30f44b179.tar.gz
spack-09540d411e0054bfcac0b5d84909aef30f44b179.tar.bz2
spack-09540d411e0054bfcac0b5d84909aef30f44b179.tar.xz
spack-09540d411e0054bfcac0b5d84909aef30f44b179.zip
binary_distribution: relocate x-pie-executable files (#24854)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/binary_distribution.py2
1 files changed, 1 insertions, 1 deletions
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