Skip to content

Commit

Permalink
ninja: Wire up Swift link_depends
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Apr 11, 2024
1 parent cfc0a2a commit 4ad67d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesonbuild/backend/ninjabackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,7 @@ def generate_swift_target(self, target):
elem = NinjaBuildElement(self.all_outputs, self.get_target_filename(target), rulename, [])
elem.add_dep(rel_objects)
elem.add_dep(link_deps)
elem.add_dep([self.get_dependency_filename(t) for t in target.link_depends])
if isinstance(target, build.Executable):
link_args += swiftc.get_std_exe_link_args()
else:
Expand Down

0 comments on commit 4ad67d8

Please sign in to comment.