summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript_build.py b/wscript_build.py
index bdb92d322b..89eaa48137 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -150,8 +150,8 @@ def build(ctx):
cmd = ('%s %s -module-name macOS_swift -emit-module-path %s '
'-import-objc-header %s -emit-objc-header-path %s -o %s %s '
- '-I. -I..') % (ctx.env.SWIFT, ctx.env.SWIFT_FLAGS, module,
- bridge, header, tgt, src)
+ '-I. -I%s') % (ctx.env.SWIFT, ctx.env.SWIFT_FLAGS, module,
+ bridge, header, tgt, src, ctx.srcnode.abspath())
return task.exec_command(cmd)
if ctx.dependency_satisfied('macos-cocoa-cb'):