Skip to content

Commit f63d261

Browse files
authored
fix: exit early when determining OS in system.mk
1 parent 7e509ec commit f63d261

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

build/system.mk

+2-6
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ ifndef OS
33

44
ifeq ($(shell uname), Linux)
55
OS = linux
6-
endif
7-
8-
ifeq ($(shell uname), Darwin)
6+
else ifeq ($(shell uname), Darwin)
97
OS = macos
10-
endif
11-
12-
ifeq ($(shell uname -o), Msys)
8+
else ifeq ($(shell uname -o), Msys)
139
OS = windows
1410
endif
1511

0 commit comments

Comments
 (0)