diff options
author | Sergey Vlasov <sergey@vlasov.me> | 2023-12-26 17:05:34 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-12-26 10:33:08 -0800 |
commit | 5ff60499453a390465aac2c60dd743d2c6964797 (patch) | |
tree | 0aa5014e8afb522428d95762b9a9c8c65e962c7f /mesonbuild/backend | |
parent | f1035e0cd0c888bc7aa18fc6e5d92c93e9e96a83 (diff) | |
download | meson-5ff60499453a390465aac2c60dd743d2c6964797.zip meson-5ff60499453a390465aac2c60dd743d2c6964797.tar.gz meson-5ff60499453a390465aac2c60dd743d2c6964797.tar.bz2 |
swift: Support swift_args
Fixes #12533
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 0fa4cc9..d675882 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -2172,6 +2172,7 @@ class NinjaBackend(backends.Backend): srctreedir = os.path.normpath(os.path.join(self.environment.get_build_dir(), self.build_to_src, expdir)) sargs = swiftc.get_include_args(srctreedir, False) compile_args += sargs + compile_args += target.get_extra_args('swift') link_args = swiftc.get_output_args(os.path.join(self.environment.get_build_dir(), self.get_target_filename(target))) link_args += self.build.get_project_link_args(swiftc, target.subproject, target.for_machine) link_args += self.build.get_global_link_args(swiftc, target.for_machine) |