diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-09-24 18:47:39 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-10-03 10:06:03 +0200 |
commit | f508b4cf80cfe924e87b9f2032299425706fff4a (patch) | |
tree | 763bebb68e64861fedd4ca671de1212d988c22cd /mesonbuild/build.py | |
parent | 8d3fcb3dc4d7204a4646807f8b5191d79fb291e5 (diff) | |
download | meson-f508b4cf80cfe924e87b9f2032299425706fff4a.zip meson-f508b4cf80cfe924e87b9f2032299425706fff4a.tar.gz meson-f508b4cf80cfe924e87b9f2032299425706fff4a.tar.bz2 |
use getters for dependency access
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 6 |
1 files changed, 3 insertions, 3 deletions
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. |