Godot Engine – Multi-platform 2D and 3D game engine
Fixes wayland-scanner detection
mrcdk88a54098948b
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.pyindex ff6df6b3ec4..b97c748691f 100644--- a/platform/linuxbsd/detect.py+++ b/platform/linuxbsd/detect.py@@ -237,7 +237,7 @@ def configure(env: "SConsEnvironment"):env.Append(CPPDEFINES=["SOWRAP_ENABLED"])if env["wayland"]:- if subprocess.run(["wayland-scanner"], capture_output=True).returncode != 0:+ if subprocess.run(["wayland-scanner", "-v"], capture_output=True).returncode != 0:print_warning("wayland-scanner not found. Disabling Wayland support.")env["wayland"] = False