summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-31 10:56:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-31 10:56:06 +0100
commit7de88873a6af14bdbc5b46f8a917091abdf4a577 (patch)
treeabba24f46da23ee34e96670dde51e69b3b495dea /platform/linuxbsd/detect.py
parent3939a881f06f9dffaab4b6984c708b140b2214bf (diff)
parentc3d6cc57be605fad96ae092685578ef215ca8dbc (diff)
downloadredot-engine-7de88873a6af14bdbc5b46f8a917091abdf4a577.tar.gz
Merge pull request #87765 from Riteo/wayland-skip-no-scanner
Wayland: Disable backend at build-time if wayland-scanner is missing
Diffstat (limited to 'platform/linuxbsd/detect.py')
-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 e6a47f556d..7946ef6228 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -208,8 +208,8 @@ def configure(env: "Environment"):
if env["wayland"]:
if os.system("wayland-scanner -v") != 0:
- print("wayland-scanner not found. Aborting.")
- sys.exit(255)
+ print("wayland-scanner not found. Disabling wayland support.")
+ env["wayland"] = False
if env["touch"]:
env.Append(CPPDEFINES=["TOUCH_ENABLED"])