From c582d3ff6721e3b9389b354298a590e19b24a750 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 22 Mar 2015 20:05:53 +0100 Subject: [PATCH] Fix false positive when detecting header-only library presence --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 0681efec00..0c9df74508 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1534,7 +1534,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, if (have_all_pkgs): return - if pkgconfig is not None and not libs and not incs: + if pkgconfig is not None and not libs: # pkg-config is all we can do, abort if it wasn't found. if pkg in PkgListGet(): print("%sWARNING:%s Could not locate pkg-config package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig))