summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/linux/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/linux/prober.lua')
-rw-r--r--xmake/scripts/platform/linux/prober.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/platform/linux/prober.lua b/xmake/scripts/platform/linux/prober.lua
index 5e5eec9b1..b476b0b8a 100644
--- a/xmake/scripts/platform/linux/prober.lua
+++ b/xmake/scripts/platform/linux/prober.lua
@@ -148,6 +148,7 @@ function prober._probe_toolchains(configs)
if not prober._probe_toolpath(configs, "ld", "", "g++", "the linker") then return false end
if not prober._probe_toolpath(configs, "ar", "", "ar", "the static library linker") then return false end
if not prober._probe_toolpath(configs, "sh", "", "g++", "the shared library linker") then return false end
+ if not prober._probe_toolpath(configs, "sc", "", "swiftc", "the swift compiler") then return false end
return true
end