diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-08 22:21:48 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-09 09:46:37 +0200 |
commit | 9c40b33cf6a0425a8452fa34dc7b4101e29d0319 (patch) | |
tree | c20899a3315bd971fbcb5dcde48c89316566d78c /mesonbuild/dependencies/misc.py | |
parent | 2263a84d0796ffe93c3dc33502dc13412fbd4afe (diff) | |
download | meson-9c40b33cf6a0425a8452fa34dc7b4101e29d0319.zip meson-9c40b33cf6a0425a8452fa34dc7b4101e29d0319.tar.gz meson-9c40b33cf6a0425a8452fa34dc7b4101e29d0319.tar.bz2 |
compilers: Fix missing functions in Compiler base class
Diffstat (limited to 'mesonbuild/dependencies/misc.py')
-rw-r--r-- | mesonbuild/dependencies/misc.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 79afb41..1dadb51 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -23,7 +23,6 @@ import typing as T from .. import mlog from .. import mesonlib from ..environment import detect_cpu_family -from ..compilers import CLikeCompiler from .base import DependencyException, DependencyMethods, ExternalDependency from .cmake import CMakeDependency @@ -300,7 +299,6 @@ class PcapDependencyConfigTool(ConfigToolDependency): if not self.env.machines.matches_build_machine(self.for_machine): return None - assert isinstance(self.clib_compiler, CLikeCompiler) v = self.clib_compiler.get_return_value('pcap_lib_version', 'string', '#include <pcap.h>', self.env, [], [self]) v = re.sub(r'libpcap version ', '', str(v)) |