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')