mirror of
https://github.com/servo/servo.git
synced 2025-06-19 22:59:03 +01:00
Define NATIVE_WIN32_PYTHON environment variable
This commit is contained in:
parent
870841099a
commit
6832e9266b
1 changed files with 4 additions and 0 deletions
|
@ -399,6 +399,10 @@ class CommandBase(object):
|
|||
# Link moztools
|
||||
env["MOZTOOLS_PATH"] = path.join(msvc_deps_dir, "moztools", "bin")
|
||||
|
||||
if is_windows():
|
||||
if not os.environ.get("NATIVE_WIN32_PYTHON"):
|
||||
env["NATIVE_WIN32_PYTHON"] = sys.executable
|
||||
|
||||
if not self.config["tools"]["system-rust"] \
|
||||
or self.config["tools"]["rust-root"]:
|
||||
env["RUST_ROOT"] = self.config["tools"]["rust-root"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue