Browse Source

Fix compilation errors with plugin build

rdb 16 years ago
parent
commit
222741c365
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -459,8 +459,8 @@ if (COMPILER=="LINUX"):
 
 
     if (RUNTIME):
     if (RUNTIME):
         # For the runtime, all packages are required
         # For the runtime, all packages are required
-        for pkg in PkgListGet():
-            if (PkgSkip(pkg)==1):
+        for pkg in ["OPENSSL", "TINYXML", "ZLIB", "NPAPI", "JPEG", "X11", "PNG"]:
+            if (pkg in PkgListGet() and PkgSkip(pkg)==1):
                 exit("Runtime must be compiled with OpenSSL, TinyXML, ZLib, NPAPI, JPEG, X11 and PNG support!")
                 exit("Runtime must be compiled with OpenSSL, TinyXML, ZLib, NPAPI, JPEG, X11 and PNG support!")
 
 
     for pkg in MAYAVERSIONS:
     for pkg in MAYAVERSIONS: