summaryrefslogtreecommitdiffstats
path: root/tools/macos.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/macos.py')
-rw-r--r--tools/macos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/macos.py b/tools/macos.py
index 34a755a..0c75e4a 100644
--- a/tools/macos.py
+++ b/tools/macos.py
@@ -20,7 +20,7 @@ def exists(env):
def generate(env):
if env["arch"] not in ("universal", "arm64", "x86_64"):
print("Only universal, arm64, and x86_64 are supported on macOS. Exiting.")
- Exit()
+ env.Exit(1)
if sys.platform == "darwin":
# Use clang on macOS by default