Quellcode durchsuchen

forgot to protect debug output by a VERBOSE check

rdb vor 16 Jahren
Ursprung
Commit
fec1586d1f
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      makepanda/makepandacore.py

+ 2 - 1
makepanda/makepandacore.py

@@ -1042,7 +1042,8 @@ def ChooseLib(*libs):
         if (libname in GetLibCache()):
         if (libname in GetLibCache()):
             return libname
             return libname
     if (len(libs) > 0):
     if (len(libs) > 0):
-        print GetColor("cyan") + "Couldn't find any of the libraries " + ", ".join(libs) + GetColor()
+        if (VERBOSE):
+            print GetColor("cyan") + "Couldn't find any of the libraries " + ", ".join(libs) + GetColor()
         return libs[0]
         return libs[0]
 
 
 def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, framework = None, target_pkg = None, tool = "pkg-config"):
 def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, framework = None, target_pkg = None, tool = "pkg-config"):