From 2890ded4a7baa898fd5dc5f5b478f7cf41ab1f1d Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 9 Dec 2015 10:33:37 +0800 Subject: add swift for linux and android --- xmake/scripts/platform/linux/prober.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/scripts/platform/linux/prober.lua') 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 -- cgit v1.3.1