diff options
| author | ruki <[email protected]> | 2026-02-11 09:51:35 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-11 09:51:35 +0800 |
| commit | 55648bbba1a1d822cc3130d5ac638ddc276dbf71 (patch) | |
| tree | 98452a2614431ffb8735819f4e4eb49fc27942d6 /xmake/toolchains/xcode/check.lua | |
| parent | de97caa61ab95c3a422dc9c494370f513e4ef535 (diff) | |
| parent | 2e9e484793bc705d2f0c2911040ca87e753eb205 (diff) | |
Merge pull request #7311 from xmake-io/xcode
Improve Xcode toolchain
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
| -rw-r--r-- | xmake/toolchains/xcode/check.lua | 6 |
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 |
