From 4eaf559c0abab9b6e9915e001563dba56c7d6b5a Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 29 Nov 2009 14:41:09 +0000 Subject: [PATCH] Oops, minor mistake in previous commit --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 2f1554b426..5c1b0f2708 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1130,7 +1130,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, if (have_all_pkgs): return - if (pkgconfig != None and libs != None and len(libs) > 0): + if (pkgconfig != None and (libs == None or len(libs) == 0)): if (pkg in PkgListGet()): print "%sWARNING:%s Could not locate package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig) PkgDisable(pkg)