diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-22 12:00:42 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-22 12:00:42 +0100 |
| commit | 2a5370fa85397473e98a09779fc4c7a56e048959 (patch) | |
| tree | 6a86e649e9a22cc2f73eb9a6cfbaa430ab40e2f0 /mesonbuild/build.py | |
| parent | f87cc4da40693345103264e205463e1689c7a956 (diff) | |
| download | meson-2a5370fa85397473e98a09779fc4c7a56e048959.tar.gz | |
dependencies: make arguments to InternalDependency.__init__ optional
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/build.py')
| -rw-r--r-- | mesonbuild/build.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 0822f6a2b..f46bd616f 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1437,12 +1437,10 @@ class BuildTarget(Target): self.link_whole_targets.extend(dep.whole_libraries) if dep.get_compile_args() or dep.get_link_args(): # Those parts that are external. - extpart = dependencies.InternalDependency('undefined', - [], - dep.get_compile_args(), - dep.get_link_args(), - [], [], [], [], [], {}, [], [], [], - dep.name) + extpart = dependencies.InternalDependency(dep.version, + compile_args=dep.get_compile_args(), + link_args=dep.get_link_args(), + name=dep.name) self.external_deps.append(extpart) # Deps of deps. self.add_deps(dep.ext_deps) |
