Use sys.executable for the rtdist build

This commit is contained in:
rdb 2009-12-17 19:07:10 +00:00
parent 765f00d846
commit 7c00c089a2

View File

@ -1301,7 +1301,7 @@ def SdkLocateMax():
def SdkLocatePython():
if (PkgSkip("PYTHON")==0):
if (sys.platform == "win32"):
if (sys.platform == "win32" and not RTDIST):
SDK["PYTHON"] = "thirdparty/win-python"
if (GetOptimize() <= 2):
SDK["PYTHON"] += "-dbg"