rdb 15 лет назад
Родитель
Сommit
97022c2df0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      makepanda/makepanda.py

+ 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):