summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-03-09 15:59:20 +0100
committerGitHub <noreply@github.com>2023-03-09 15:59:20 +0100
commitc1128e911ccd6f1e8c35646df804d894652a58f1 (patch)
treeb2b773880d4f93e875f6166b2c1b3ff4c2b731d2
parentd3415ae5aa18e124f65161881ec45e9930e79d36 (diff)
parentac04a0761ebdb8c7754d09a3b687900f8b5c0009 (diff)
downloadredot-engine-c1128e911ccd6f1e8c35646df804d894652a58f1.tar.gz
Merge pull request #74645 from omar-polo/scons-exit
exit with non-zero status if not all freetype deps are all builtin or not
-rw-r--r--platform/linuxbsd/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index e203dca005..549319a750 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -70,7 +70,7 @@ def configure(env: "Environment"):
'Unsupported CPU architecture "%s" for Linux / *BSD. Supported architectures are: %s.'
% (env["arch"], ", ".join(supported_arches))
)
- sys.exit()
+ sys.exit(255)
## Build type
@@ -208,7 +208,7 @@ def configure(env: "Environment"):
"freetype, libpng, zlib, graphite, harfbuzz.\n"
"Please specify `builtin_<name>=no` for all of them, or none."
)
- sys.exit()
+ sys.exit(255)
if not env["builtin_freetype"]:
env.ParseConfig("pkg-config freetype2 --cflags --libs")