mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix OSX buildbot compile error for runtime build, as well
This commit is contained in:
parent
2c762a7820
commit
2941d95466
@ -1367,6 +1367,8 @@ def SdkLocatePython(force_use_sys_executable = False):
|
||||
SDK["PYTHON"] = sysconfig.get_python_inc()
|
||||
SDK["PYTHONVERSION"] = "python" + sysconfig.get_python_version()
|
||||
SDK["PYTHONEXEC"] = os.path.join(os.path.dirname(sys.executable), os.readlink(sys.executable))
|
||||
elif (sys.platform == "darwin"):
|
||||
SDK["PYTHONEXEC"] = sys.executable
|
||||
else:
|
||||
SDK["PYTHONEXEC"] = os.path.join(os.path.dirname(sys.executable), os.readlink(sys.executable))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user