Browse Source

bison and flex aren't needed for a runtime build

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

+ 2 - 2
makepanda/makepanda.py

@@ -475,9 +475,9 @@ if (COMPILER=="LINUX"):
             if (pkg in PkgListGet() and PkgSkip(pkg)==1):
             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!")
 
 
-    if (not LocateBinary("bison")):
+    if (not RUNTIME and not LocateBinary("bison")):
         exit("Could not locate bison!")
         exit("Could not locate bison!")
-    if (not LocateBinary("flex")):
+    if (not RUNTIME and not LocateBinary("flex")):
         exit("Could not locate flex!")
         exit("Could not locate flex!")
 
 
     for pkg in MAYAVERSIONS:
     for pkg in MAYAVERSIONS: