|
|
@@ -1299,9 +1299,9 @@ def SdkLocateMax():
|
|
|
if (os.path.isdir(top + "\\" + subdir)!=0):
|
|
|
SDK[version+"CS"] = top + subdir
|
|
|
|
|
|
-def SdkLocatePython():
|
|
|
- if (PkgSkip("PYTHON")==0):
|
|
|
- if (sys.platform == "win32" and not RTDIST):
|
|
|
+def SdkLocatePython(force_use_sys_executable = False):
|
|
|
+ if (PkgSkip("PYTHON")==0 and not force_use_sys_executable):
|
|
|
+ if (sys.platform == "win32"):
|
|
|
SDK["PYTHON"] = "thirdparty/win-python"
|
|
|
if (GetOptimize() <= 2):
|
|
|
SDK["PYTHON"] += "-dbg"
|