py-py-spy: fix linkage with libunwind (#50542)

This commit is contained in:
Fernando Ayats
2025-05-21 00:58:17 +02:00
committed by GitHub
parent 3ec4797513
commit 445667adbe

View File

@@ -22,5 +22,6 @@ class PyPySpy(CargoPackage):
# TODO: uses cargo to download and build dozens of dependencies.
# Need to figure out how to manage these with Spack once we have a
# CargoPackage base class.
depends_on("c")
depends_on("unwind")
depends_on("libunwind components=ptrace", when="^[virtuals=unwind] libunwind")