diff options
Diffstat (limited to 'xmake/scripts/platform/android')
| -rw-r--r-- | xmake/scripts/platform/android/android.lua | 1 | ||||
| -rw-r--r-- | xmake/scripts/platform/android/prober.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xmake/scripts/platform/android/android.lua b/xmake/scripts/platform/android/android.lua index 456aceaca..15e3c33a2 100644 --- a/xmake/scripts/platform/android/android.lua +++ b/xmake/scripts/platform/android/android.lua @@ -55,6 +55,7 @@ function android.make(configs) configs.tools.ar = config.get("ar") configs.tools.sh = config.get("sh") configs.tools.ex = config.get("ar") + configs.tools.sc = config.get("sc") -- init flags local arch = config.get("arch") diff --git a/xmake/scripts/platform/android/prober.lua b/xmake/scripts/platform/android/prober.lua index bb4abe023..a90c6bf43 100644 --- a/xmake/scripts/platform/android/prober.lua +++ b/xmake/scripts/platform/android/prober.lua @@ -234,6 +234,7 @@ function prober._probe_toolchains(configs) if not prober._probe_toolpath(configs, "ld", prefix, "g++", "the linker") then return false end if not prober._probe_toolpath(configs, "ar", prefix, "ar", "the static library linker") then return false end if not prober._probe_toolpath(configs, "sh", prefix, "g++", "the shared library linker") then return false end + if not prober._probe_toolpath(configs, "sc", prefix, "swiftc", "the swift compiler") then return false end -- ok return true |
