diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index e968699ac2..40573575db 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -475,9 +475,9 @@ if (COMPILER=="LINUX"): if (pkg in PkgListGet() and PkgSkip(pkg)==1): 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!") - if (not LocateBinary("flex")): + if (not RUNTIME and not LocateBinary("flex")): exit("Could not locate flex!") for pkg in MAYAVERSIONS: