aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py1
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.''')