aboutsummaryrefslogtreecommitdiff
path: root/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-10 21:49:41 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-10 21:49:41 +0200
commit43b07729aa058ce8af1aa4d7f3c445f61f39c42a (patch)
treea3784e2b3f5fdf0dbde333cdeaeb20ead1889a15 /compilers.py
parent7ed515dacc726b6413ff720b7c125670b60543a1 (diff)
downloadmeson-43b07729aa058ce8af1aa4d7f3c445f61f39c42a.zip
meson-43b07729aa058ce8af1aa4d7f3c445f61f39c42a.tar.gz
meson-43b07729aa058ce8af1aa4d7f3c445f61f39c42a.tar.bz2
Reworked swift code so now can use multiple source files in one target.
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 41c4ecd..c496a5d 100644
--- a/compilers.py
+++ b/compilers.py
@@ -1012,6 +1012,9 @@ class SwiftCompiler(Compiler):
def get_std_exe_link_args(self):
return ['-emit-executable']
+ def get_module_args(self, modname):
+ return ['-module-name', modname]
+
def build_rpath_args(self, *args):
return [] # FIXME