diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 5c1b0f2708..a48cf9f7a4 100644 --- a/makepanda/makepandacore.py +++ b/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"):