diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-05 16:19:30 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-05 16:19:30 -0700 |
commit | b842b0b04aa8678f98cbec5f7022e75636ddf4a3 (patch) | |
tree | 3ac5406cc9ee1ea4752e87116f340f489f7b8573 /mesonbuild/build.py | |
parent | b1aa54bb2911ecf0f26391a9b1e0a6cd308913b5 (diff) | |
download | meson-b842b0b04aa8678f98cbec5f7022e75636ddf4a3.zip meson-b842b0b04aa8678f98cbec5f7022e75636ddf4a3.tar.gz meson-b842b0b04aa8678f98cbec5f7022e75636ddf4a3.tar.bz2 |
dependencies: Add ext_deps to all dependencies
I'll be using this later, but it seems useful to allow dependencies to
that have special handlers to declare that they depend on other
dependencies. This should allow us to stop treating threads special
internally and just make it a normal dependency.
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index bcd1754..020c47b 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1035,6 +1035,7 @@ This will become a hard error in a future Meson release.''') if dep not in self.external_deps: self.external_deps.append(dep) self.process_sourcelist(dep.get_sources()) + self.add_deps(dep.ext_deps) elif isinstance(dep, BuildTarget): raise InvalidArguments('''Tried to use a build target as a dependency. You probably should put it in link_with instead.''') |