summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-py-spy/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-py-spy/package.py b/var/spack/repos/builtin/packages/py-py-spy/package.py
index a33551017a..1b5e472550 100644
--- a/var/spack/repos/builtin/packages/py-py-spy/package.py
+++ b/var/spack/repos/builtin/packages/py-py-spy/package.py
@@ -20,6 +20,7 @@ class PyPySpy(Package):
# CargoPackage base class.
depends_on('rust', type='build')
depends_on('unwind')
+ depends_on('libunwind components=ptrace', when='^libunwind')
def install(self, spec, prefix):
cargo = which('cargo')