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

This commit is contained in:
rdb 2010-01-02 10:10:29 +00:00
parent ded22d4fc6
commit 8011302cef
1 changed files with 1 additions and 1 deletions

View File

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