2
0
rdb 15 жил өмнө
parent
commit
97022c2df0

+ 2 - 2
makepanda/makepanda.py

@@ -1545,10 +1545,10 @@ def WriteConfigSettings():
 
     if (RUNTIME):
         dtool_config["HAVE_P3D_PLUGIN"] = '1'
-    
+
     # Whether it's present on the system doesn't matter here,
     # as the runtime itself doesn't include or link with X11.
-    if (RUNTIME and sys.platform.startswith("linux")):
+    if (RUNTIME and sys.platform != "darwin" and not sys.platform.startswith("win")):
         dtool_config["HAVE_X11"] = '1'
 
     if ("GENERIC_DXERR_LIBRARY" in SDK):