From 0e5975dd266234ab45acbd88168e8550ea3e4419 Mon Sep 17 00:00:00 2001 From: DmitriySalnikov Date: Sat, 9 Sep 2023 11:55:53 +0300 Subject: [SCons] Fixed crashes in several scripts --- tools/macos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/macos.py') 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 -- cgit v1.2.3