Skip to content

Commit

Permalink
ast/introspection: Wire up build_only_subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Mar 15, 2024
1 parent 5bed37e commit 719722f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mesonbuild/ast/introspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,8 @@ def traverse_nodes(inqueue: T.List[BaseNode]) -> T.List[BaseNode]:
empty_sources: T.List[T.Any] = []
# Passing the unresolved sources list causes errors
kwargs_reduced['_allow_no_sources'] = True
# XXX: is setting build_only_subproject to False correct?
target = targetclass(name, self.subdir, self.subproject, for_machine, empty_sources, None, objects,
self.environment, self.coredata.compilers[for_machine], False, kwargs_reduced)
self.environment, self.coredata.compilers[for_machine], self.coredata.is_build_only, kwargs_reduced)
target.process_compilers_late()

new_target = {
Expand Down

0 comments on commit 719722f

Please sign in to comment.