summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-07 11:06:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-07 11:06:00 +0100
commitc9c2b1263754e3bfb9025942645352f242670601 (patch)
treeefe276e5b5991b3063ab6e9af1f69442461bc19f /platform/linuxbsd/detect.py
parent6b1e50ba97e4d60b03098e8eb585a039074c7d35 (diff)
parent7b0f2a5f539cafefd89921030ea48dc42c22dd88 (diff)
downloadredot-engine-c9c2b1263754e3bfb9025942645352f242670601.tar.gz
Merge pull request #88028 from Calinou/wayland-silence-scanner-check
Silence wayland-scanner check in buildsystem
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 7946ef6228..b71dbbb91c 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -207,8 +207,8 @@ def configure(env: "Environment"):
env.Append(CPPDEFINES=["SOWRAP_ENABLED"])
if env["wayland"]:
- if os.system("wayland-scanner -v") != 0:
- print("wayland-scanner not found. Disabling wayland support.")
+ if os.system("wayland-scanner -v 2>/dev/null") != 0:
+ print("wayland-scanner not found. Disabling Wayland support.")
env["wayland"] = False
if env["touch"]: