Browse Source

Don't warn about missing libraries if there are alternative libraries

rdb 16 years ago
parent
commit
681dc378dc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      makepanda/makepandacore.py

+ 1 - 2
makepanda/makepandacore.py

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