Skip to content

Commit ec74bb0

Browse files
committed
Refactor platform condition in config.py
1 parent 3863950 commit ec74bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def can_build(env, platform):
2-
return (platform == "windows" and env["use_mingw"]) or platform == "linux" or platform == "macos"
2+
return not (platform == "windows" and not env["use_mingw"])
33

44

55
def configure(env):

0 commit comments

Comments
 (0)