Skip to content

Commit

Permalink
ninja: Wire up Swift link_args
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Apr 11, 2024
1 parent 6c3a86f commit cfc0a2a
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 @@ -2229,6 +2229,7 @@ def generate_swift_target(self, target):
reldir = '.'
link_args += ['-L', os.path.normpath(os.path.join(self.environment.get_build_dir(), reldir))]
link_args += self.determine_swift_external_dep_link_args(target, swiftc)
link_args += target.link_args
(rel_generated, other_generated) = self.split_swift_generated_sources(target)
abs_generated = [os.path.join(self.environment.get_build_dir(), x) for x in rel_generated]
# We need absolute paths because swiftc needs to be invoked in a subdir
Expand Down

0 comments on commit cfc0a2a

Please sign in to comment.