Merge pull request #26474 from akien-mga/scons-silence-x11

SCons: Reduce spam from x11:can_build
This commit is contained in:
Rémi Verschelde 2019-03-02 10:48:42 +01:00 committed by GitHub
commit a42549b8f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ")