summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/swiftc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-08 19:09:51 +0800
committerruki <[email protected]>2015-12-08 19:09:51 +0800
commit5fc652aeba3000759914f54286048c239972ac07 (patch)
tree07ab3910c01bafab7a5071baf4f9bb026add04f2 /xmake/scripts/tools/swiftc.lua
parent119f3d4d895419eb905c1637b88c295f3144ceab (diff)
add ldflags for compiler
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