summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/swiftc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/tools/swiftc.lua')
-rw-r--r--xmake/scripts/tools/swiftc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/scripts/tools/swiftc.lua b/xmake/scripts/tools/swiftc.lua
index 379fb764b..1548876c3 100644
--- a/xmake/scripts/tools/swiftc.lua
+++ b/xmake/scripts/tools/swiftc.lua
@@ -62,6 +62,9 @@ function swiftc.init(self, name)
, ["-fsanitize=address"] = ""
}
+ -- init ldflags
+ self.ldflags = { "-lswiftCore" }
+
-- -target
-- armv7-apple-ios7.1
-- x86_64-apple-ios9.0