aboutsummaryrefslogtreecommitdiff
path: root/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-11 00:19:25 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-11 00:19:25 +0200
commitd531f915b12ad648c1ae08749548233882087f12 (patch)
treea899d3981ab377b970984e57154045f5915980fa /compilers.py
parent43b07729aa058ce8af1aa4d7f3c445f61f39c42a (diff)
downloadmeson-d531f915b12ad648c1ae08749548233882087f12.zip
meson-d531f915b12ad648c1ae08749548233882087f12.tar.gz
meson-d531f915b12ad648c1ae08749548233882087f12.tar.bz2
Can build Swift libraries and link them.
Diffstat (limited to 'compilers.py')
-rw-r--r--compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilers.py b/compilers.py
index c496a5d..ed8d4fb 100644
--- a/compilers.py
+++ b/compilers.py
@@ -1015,6 +1015,9 @@ class SwiftCompiler(Compiler):
def get_module_args(self, modname):
return ['-module-name', modname]
+ def get_mod_gen_args(self):
+ return ['-emit-module']
+
def build_rpath_args(self, *args):
return [] # FIXME