Browse Source

freebsd fix for the oops

rdb 15 years ago
parent
commit
97022c2df0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -1545,10 +1545,10 @@ def WriteConfigSettings():
 
 
     if (RUNTIME):
     if (RUNTIME):
         dtool_config["HAVE_P3D_PLUGIN"] = '1'
         dtool_config["HAVE_P3D_PLUGIN"] = '1'
-    
+
     # Whether it's present on the system doesn't matter here,
     # Whether it's present on the system doesn't matter here,
     # as the runtime itself doesn't include or link with X11.
     # 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'
         dtool_config["HAVE_X11"] = '1'
 
 
     if ("GENERIC_DXERR_LIBRARY" in SDK):
     if ("GENERIC_DXERR_LIBRARY" in SDK):