py-py-spy: fix dependency on libunwind (#31013)

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Brice Videau 2022-06-13 07:16:26 -05:00 committed by GitHub
parent 516587a1da
commit 14ae0e0d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ class PyPySpy(Package):
# CargoPackage base class. # CargoPackage base class.
depends_on('rust', type='build') depends_on('rust', type='build')
depends_on('unwind') depends_on('unwind')
depends_on('libunwind components=ptrace', when='^libunwind')
def install(self, spec, prefix): def install(self, spec, prefix):
cargo = which('cargo') cargo = which('cargo')