File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,22 @@ lm.bindir = "bin"
77lm .EXE_DIR = " "
88
99if platform .OS == ' macOS' then
10- if lm .platform == " darwin-arm64" then
10+ if lm .platform == nil then
11+ elseif lm .platform == " darwin-arm64" then
1112 lm .target = " arm64-apple-macos11"
12- else
13+ elseif lm . platform == " darwin-x64 " then
1314 lm .target = " x86_64-apple-macos10.12"
15+ else
16+ error " unknown platform"
1417 end
15- end
16-
17- if platform .OS == ' Windows' then
18- if lm .platform == " win32-ia32" then
18+ elseif platform .OS == ' Windows' then
19+ if lm .platform == nil then
20+ elseif lm .platform == " win32-ia32" then
1921 lm .arch = " x86"
20- else
22+ elseif lm . platform == " win32-x64 " then
2123 lm .arch = " x86_64"
24+ else
25+ error " unknown platform"
2226 end
2327end
2428
You can’t perform that action at this time.
0 commit comments