Skip to content

Commit 90861b5

Browse files
committed
Im too fool
1 parent 84f5b23 commit 90861b5

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

make.lua

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ lm.bindir = "bin"
66

77
lm.EXE_DIR = ""
88

9-
if lm.platform == "darwin-arm64" then
10-
lm.target = "arm64-apple-macos11"
11-
else
12-
lm.target = "x86_64-apple-macos10.12"
9+
if platform.OS == 'macOS' then
10+
if lm.platform == "darwin-arm64" then
11+
lm.target = "arm64-apple-macos11"
12+
else
13+
lm.target = "x86_64-apple-macos10.12"
14+
end
1315
end
1416

15-
if lm.platform == "win32-ia32" then
16-
lm.target = "x86"
17-
else
18-
lm.target = "x86_64"
17+
if platform.OS == 'Windows' then
18+
if lm.platform == "win32-ia32" then
19+
lm.target = "x86"
20+
else
21+
lm.target = "x86_64"
22+
end
1923
end
2024

2125
lm:import "3rd/bee.lua/make.lua"

0 commit comments

Comments
 (0)