Explorar el Código

freebsd fix for the oops

rdb hace 15 años
padre
commit
97022c2df0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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):