From f508b4cf80cfe924e87b9f2032299425706fff4a Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 24 Sep 2019 18:47:39 +0200 Subject: use getters for dependency access --- mesonbuild/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/build.py') diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 4ec742d..0c3d982 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1029,12 +1029,12 @@ This will become a hard error in a future Meson release.''') self.link(l) for l in dep.whole_libraries: self.link_whole(l) - if dep.compile_args or dep.link_args: + if dep.get_compile_args() or dep.get_link_args(): # Those parts that are external. extpart = dependencies.InternalDependency('undefined', [], - dep.compile_args, - dep.link_args, + dep.get_compile_args(), + dep.get_link_args(), [], [], [], []) self.external_deps.append(extpart) # Deps of deps. -- cgit v1.1