Pārlūkot izejas kodu

Fix minor issue

rdb 16 gadi atpakaļ
vecāks
revīzija
11e4f386b7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -1130,7 +1130,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None,
             if (have_all_pkgs):
             if (have_all_pkgs):
                 return
                 return
     
     
-    if (pkgconfig != None and libs == None):
+    if (pkgconfig != None and libs != None and len(libs) > 0):
         if (pkg in PkgListGet()):
         if (pkg in PkgListGet()):
             print "%sWARNING:%s Could not locate package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig)
             print "%sWARNING:%s Could not locate package %s, excluding from build" % (GetColor("red"), GetColor(), pkgconfig)
             PkgDisable(pkg)
             PkgDisable(pkg)