Skip to content

Commit

Permalink
Merge pull request #74645 from omar-polo/scons-exit
Browse files Browse the repository at this point in the history
exit with non-zero status if not all freetype deps are all builtin or not
  • Loading branch information
akien-mga authored Mar 9, 2023
2 parents d3415ae + ac04a07 commit c1128e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/linuxbsd/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit c1128e9

Please sign in to comment.