Godot Engine – Multi-platform 2D and 3D game engine
Fix build fail when missing wayland-scanner
kobewic1c8cb64f4af
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.pyindex b97c748691f..b4f92b1e11b 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", "-v"], capture_output=True).returncode != 0:+ if subprocess.run(["wayland-scanner", "-v"], capture_output=True, shell=True).returncode != 0:print_warning("wayland-scanner not found. Disabling Wayland support.")env["wayland"] = False