aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/swift.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/swift.py')
-rw-r--r--mesonbuild/compilers/swift.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/swift.py b/mesonbuild/compilers/swift.py
index 6c639fd..e429056 100644
--- a/mesonbuild/compilers/swift.py
+++ b/mesonbuild/compilers/swift.py
@@ -27,6 +27,9 @@ swift_optimization_args = {'0': [],
}
class SwiftCompiler(Compiler):
+
+ LINKER_PREFIX = ['-Xlinker']
+
def __init__(self, exelist, version, for_machine: MachineChoice, is_cross, **kwargs):
self.language = 'swift'
super().__init__(exelist, version, for_machine, **kwargs)