Merge pull request #88028 from Calinou/wayland-silence-scanner-check

Silence wayland-scanner check in buildsystem
This commit is contained in:
Rémi Verschelde 2024-02-07 11:06:00 +01:00
commit c9c2b12637
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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"]: