Merge pull request #26474 from akien-mga/scons-silence-x11
SCons: Reduce spam from x11:can_build
This commit is contained in:
commit
a42549b8f7
|
@ -20,12 +20,10 @@ def can_build():
|
||||||
# Check the minimal dependencies
|
# Check the minimal dependencies
|
||||||
x11_error = os.system("pkg-config --version > /dev/null")
|
x11_error = os.system("pkg-config --version > /dev/null")
|
||||||
if (x11_error):
|
if (x11_error):
|
||||||
print("pkg-config not found.. x11 disabled.")
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
x11_error = os.system("pkg-config x11 --modversion > /dev/null ")
|
x11_error = os.system("pkg-config x11 --modversion > /dev/null ")
|
||||||
if (x11_error):
|
if (x11_error):
|
||||||
print("X11 not found.. x11 disabled.")
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
x11_error = os.system("pkg-config xcursor --modversion > /dev/null ")
|
x11_error = os.system("pkg-config xcursor --modversion > /dev/null ")
|
||||||
|
|
Loading…
Reference in New Issue