You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
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.
This commit is contained in:
@@ -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 ")
|
||||
|
||||
Reference in New Issue
Block a user