kcov: elfutils not needed on macOS (#21993)

This commit is contained in:
Adam J. Stewart
2021-02-26 19:25:59 -06:00
committed by GitHub
parent a87aa49fbf
commit ede100bf16

View File

@@ -19,8 +19,8 @@ class Kcov(CMakePackage):
depends_on('cmake@2.8.4:', type='build')
depends_on('zlib')
depends_on('curl')
depends_on('elfutils')
depends_on('binutils +libiberty', type='link')
depends_on('elfutils', when='platform=linux')
depends_on('binutils +libiberty', when='platform=linux', type='link')
def cmake_args(self):
# Necessary at least on macOS, fixes linking error to LLDB