diff options
| author | ruki <[email protected]> | 2023-09-29 00:44:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-29 00:44:34 +0800 |
| commit | 8c3407dd4cdde31afe856312f9c47a8633a5a4d9 (patch) | |
| tree | 5e6345549dfa052806e44c29d790cefd350bf182 /xmake/toolchains/xcode/check.lua | |
| parent | 58eee2611889b008c079cac585945eec8698198a (diff) | |
fix cross for xcode
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
| -rw-r--r-- | xmake/toolchains/xcode/check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua index 1c013d5d4..40c05095c 100644 --- a/xmake/toolchains/xcode/check.lua +++ b/xmake/toolchains/xcode/check.lua @@ -73,11 +73,11 @@ function main(toolchain) end -- get xcode bin directory + local cross if xcode.sdkdir and os.isdir(xcode.sdkdir) then local bindir = path.join(xcode.sdkdir, "Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin") toolchain:config_set("bindir", bindir) else - local cross if toolchain:is_plat("macosx") then cross = "xcrun -sdk macosx " elseif toolchain:is_plat("iphoneos") then |
