From c77c4ef3b1ef4a3576f9bc6c8e4eab91604018d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 2 Mar 2019 10:39:20 +0100 Subject: [PATCH] SCons: Reduce spam from x11:can_build When cross-compiling for non-X11 on Linux, it used to be quite spammy. Now it will only print errors if you miss more than just pkg-config and x11. --- platform/x11/detect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 1355ae542d6..b5ad59e60a5 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -20,12 +20,10 @@ def can_build(): # Check the minimal dependencies x11_error = os.system("pkg-config --version > /dev/null") if (x11_error): - print("pkg-config not found.. x11 disabled.") return False x11_error = os.system("pkg-config x11 --modversion > /dev/null ") if (x11_error): - print("X11 not found.. x11 disabled.") return False x11_error = os.system("pkg-config xcursor --modversion > /dev/null ")