summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-11 00:47:03 +0800
committerruki <[email protected]>2026-02-11 00:47:03 +0800
commitb1151620cca00ebf4f011ae5e3656359cba80f0c (patch)
treeb41c2b939e45dce5126a58153797d8f3af5e7f56 /xmake/toolchains/xcode/check.lua
parentde97caa61ab95c3a422dc9c494370f513e4ef535 (diff)
improve xcode toolchain
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
-rw-r--r--xmake/toolchains/xcode/check.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua
index 5797170f5..b73ea426a 100644
--- a/xmake/toolchains/xcode/check.lua
+++ b/xmake/toolchains/xcode/check.lua
@@ -22,6 +22,7 @@
import("core.base.option")
import("core.project.config")
import("detect.sdks.find_xcode")
+import("private.utils.toolchain", {alias = "toolchain_utils"})
import("private.utils.executable_path")
import("private.tools.codesign")
@@ -32,8 +33,9 @@ function _show_checkinfo(toolchain, xcode, xcode_sdkver, target_minver)
if xcode_sdkver then
table.insert(extras, "sdk: " .. xcode_sdkver)
end
- if target_minver then
- table.insert(extras, "target: " .. target_minver)
+ local target_triple = toolchain_utils.get_xcode_target_triple(toolchain)
+ if target_triple then
+ table.insert(extras, target_triple)
end
local extra = ""
if #extras > 0 then