summaryrefslogtreecommitdiff
path: root/xmake/languages/swift/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-16 10:59:10 +0800
committerruki <[email protected]>2020-05-16 10:59:10 +0800
commitd021df166bfd45c2d18ae6fa39cd685006491d01 (patch)
tree00ae776fe15fc6f70c30877b1b2eaeba2cd3d4f8 /xmake/languages/swift/xmake.lua
parent87a0828f8d20d3a1a83aed640e6e77560668e488 (diff)
rename dlang, rust, swift, go ldflags
Diffstat (limited to 'xmake/languages/swift/xmake.lua')
-rw-r--r--xmake/languages/swift/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/languages/swift/xmake.lua b/xmake/languages/swift/xmake.lua
index a3b121a13..3ac1f0b87 100644
--- a/xmake/languages/swift/xmake.lua
+++ b/xmake/languages/swift/xmake.lua
@@ -28,7 +28,7 @@ language("swift")
set_sourceflags {sc = "scflags"}
-- set target kinds
- set_targetkinds {binary = "sc-ld", static = "ar", shared = "sc-sh"}
+ set_targetkinds {binary = "scld", static = "ar", shared = "scsh"}
-- set target flags
set_targetflags {binary = "ldflags", static = "arflags", shared = "shflags"}
@@ -153,8 +153,8 @@ language("swift")
, { nil, "sc", "kv", nil, "The Swift Compiler" }
, {category = "Cross Complation Configuration/Linker Configuration" }
- , { nil, "sc-ld", "kv", nil, "The Swift Linker" }
- , { nil, "sc-sh", "kv", nil, "The Swift Shared Library Linker" }
+ , { nil, "scld", "kv", nil, "The Swift Linker" }
+ , { nil, "scsh", "kv", nil, "The Swift Shared Library Linker" }
, { category = "Cross Complation Configuration/Builtin Flags Configuration" }
, { nil, "links", "kv", nil, "The Link Libraries" }