Przeglądaj źródła

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.
Rémi Verschelde 6 lat temu
rodzic
commit
c77c4ef3b1
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      platform/x11/detect.py

+ 0 - 2
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 ")