From 4ad67d84d2773b09322ad8cd625cda7deb45f89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 11 Apr 2024 14:41:09 +0200 Subject: [PATCH] ninja: Wire up Swift link_depends --- mesonbuild/backend/ninjabackend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index c71db3cba6d8..8db4a4254515 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -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: