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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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