aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/introspection.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-10-01 09:38:52 -0700
committerDylan Baker <dylan@pnwbakers.com>2022-03-07 12:33:33 -0800
commit7d1431a06039cb29bc2585929a9fbac58bdedb0e (patch)
tree6399edd3684d983a7f20e3510cc246057c83d46c /mesonbuild/ast/introspection.py
parentcbc62e892aaea60a3692797c521672b95be9389d (diff)
downloadmeson-7d1431a06039cb29bc2585929a9fbac58bdedb0e.zip
meson-7d1431a06039cb29bc2585929a9fbac58bdedb0e.tar.gz
meson-7d1431a06039cb29bc2585929a9fbac58bdedb0e.tar.bz2
build: plumb structured sources into BuildTargets
Diffstat (limited to 'mesonbuild/ast/introspection.py')
-rw-r--r--mesonbuild/ast/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py
index 9bd73d7..af29542 100644
--- a/mesonbuild/ast/introspection.py
+++ b/mesonbuild/ast/introspection.py
@@ -249,7 +249,7 @@ class IntrospectionInterpreter(AstInterpreter):
objects = [] # type: T.List[T.Any]
empty_sources = [] # type: T.List[T.Any]
# Passing the unresolved sources list causes errors
- target = targetclass(name, self.subdir, self.subproject, for_machine, empty_sources, objects, self.environment, kwargs_reduced)
+ target = targetclass(name, self.subdir, self.subproject, for_machine, empty_sources, [], objects, self.environment, kwargs_reduced)
new_target = {
'name': target.get_basename(),