summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
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"])