diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 1b243ea73e..c457a7fe12 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1129,7 +1129,7 @@ if (COMPILER=="GCC"): # CgGL is covered by the Cg framework, and we don't need X11 components on OSX if not PkgSkip("NVIDIACG") and not RUNTIME: SmartPkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h", thirdparty_dir = "nvidiacg") - if not RUNTIME: + if not RUNTIME and GetTarget() != "android": SmartPkgEnable("X11", "x11", "X11", ("X11", "X11/Xlib.h", "X11/XKBlib.h")) if GetHost() != "darwin":