aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 81dca475a66..0a632fc0ede 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -468,12 +468,9 @@ class CommandBase(object):
effective_target = self.cross_compile_target or servo.platform.host_triple()
if "msvc" in effective_target:
- util.append_paths_to_env(env, "PATH", path.join(self.msvc_package_dir("llvm"), "bin"))
-
- # These two environment variables are necessary for building mozjs. It would
- # be nice to be able to set them in the cargo configuration somehow, but they
- # are platform-dependent.
- env["LIBCLANG_PATH"] = path.join(self.msvc_package_dir("llvm"), "lib")
+ # This environment variable is necessary for building mozjs. It would
+ # be nice to be able to set it in the cargo configuration somehow, but it
+ # is platform-dependent.
env["MOZILLA_BUILD"] = path.join(self.msvc_package_dir("moztools"))
# Always build harfbuzz from source