makepanda: Don't enable X11 on Android

This commit is contained in:
rdb 2021-03-21 14:55:46 +01:00
parent b5c78e8035
commit 2531f09024

View File

@ -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":