kcov: add missing dependency (#21932)

kcov CMakeLists.txt generates the "kcov" executable only if
certain dependencies are found. These dependencies are 
"libbfd", "libopcodes" and "libiberty", hence the dependency 
on binutils.
This commit is contained in:
Harmen Stoppels 2021-02-25 11:55:56 +01:00 committed by GitHub
parent 127a630ba3
commit a258d40c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +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('binutils +libiberty', 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