Browse Source

Don't attempt to build PhysX on 64-bits linux

rdb 16 years ago
parent
commit
8011302cef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepandacore.py

+ 1 - 1
makepanda/makepandacore.py

@@ -1425,7 +1425,7 @@ def SdkLocatePhysX():
                 if folder.endswith("NVIDIA PhysX SDK\\%s\\SDKs\\" % key):
                     SDK["PHYSX"] = folder
                     SDK["PHYSXVERSION"] = ver
-        elif (sys.platform.startswith("linux")):
+        elif (sys.platform.startswith("linux") and platform.architecture()[0] != "64bit"):
             incpath = "/usr/include/PhysX/%s/SDKs" % key
             libpath = "/usr/lib/PhysX/%s" % key
             if (os.path.isdir(incpath) and os.path.isdir(libpath)):