I shouldn't code when I'm tired

This commit is contained in:
rdb 2009-12-17 19:13:43 +00:00
parent 7c2224ba8e
commit 4f218a4a84

View File

@ -1300,8 +1300,8 @@ def SdkLocateMax():
SDK[version+"CS"] = top + subdir SDK[version+"CS"] = top + subdir
def SdkLocatePython(force_use_sys_executable = False): def SdkLocatePython(force_use_sys_executable = False):
if (PkgSkip("PYTHON")==0 and not force_use_sys_executable): if (PkgSkip("PYTHON")==0):
if (sys.platform == "win32"): if (sys.platform == "win32" and not force_use_sys_executable):
SDK["PYTHON"] = "thirdparty/win-python" SDK["PYTHON"] = "thirdparty/win-python"
if (GetOptimize() <= 2): if (GetOptimize() <= 2):
SDK["PYTHON"] += "-dbg" SDK["PYTHON"] += "-dbg"