Browse Source

Fill in SDK["PYTHONEXEC"] even if compiling without python

rdb 16 years ago
parent
commit
c53c52ef76
1 changed files with 2 additions and 0 deletions
  1. 2 0
      makepanda/makepandacore.py

+ 2 - 0
makepanda/makepandacore.py

@@ -1238,6 +1238,8 @@ def SdkLocatePython():
             SDK["PYTHON"] = sysconfig.get_python_inc()
             SDK["PYTHONVERSION"] = "python" + sysconfig.get_python_version()
             SDK["PYTHONEXEC"] = sys.executable
+    else:
+        SDK["PYTHONEXEC"] = sys.executable
 
 def SdkLocateVisualStudio():
     if (sys.platform != "win32"): return