summaryrefslogtreecommitdiff
path: root/xmake/languages/swift/xmake.lua
diff options
context:
space:
mode:
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" }