summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-03-02 10:39:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-03-02 10:39:20 +0100
commitc77c4ef3b1ef4a3576f9bc6c8e4eab91604018d9 (patch)
tree34d1c0a5e37b2d4629e0362c772b6f11696ad5f1 /platform/x11
parente930fb9a6e4277ad3c4dc60a775785b294840512 (diff)
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.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 1355ae542d..b5ad59e60a 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 ")