aboutsummaryrefslogtreecommitdiff
path: root/compilers.py
diff options
context:
space:
mode:
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