gperftools: make the "libunwind" variant conditional (#31673)
libunwind is supported on Linux only
This commit is contained in:
parent
532668af29
commit
e985a9884a
@ -31,7 +31,9 @@ class Gperftools(AutotoolsPackage):
|
|||||||
description="Try to build run-time switch for sized delete operator",
|
description="Try to build run-time switch for sized delete operator",
|
||||||
)
|
)
|
||||||
variant("debugalloc", default=True, description="Build versions of libs with debugalloc")
|
variant("debugalloc", default=True, description="Build versions of libs with debugalloc")
|
||||||
variant("libunwind", default=True, description="Enable libunwind linking")
|
variant(
|
||||||
|
"libunwind", default=True, when="platform=linux", description="Enable libunwind linking"
|
||||||
|
)
|
||||||
|
|
||||||
depends_on("unwind", when="+libunwind")
|
depends_on("unwind", when="+libunwind")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user