Use the correct Rust path in Android packaging

This commit is contained in:
Matt Brubeck 2014-11-14 13:01:39 -08:00
parent 85a2f0b66a
commit 3cacb029cc
2 changed files with 3 additions and 1 deletions

View file

@ -109,6 +109,7 @@ class CommandBase(object):
extra_lib = []
if not self.config["tools"]["system-rust"] \
or self.config["tools"]["rust-root"]:
env["RUST_ROOT"] = self.config["tools"]["rust-root"]
extra_path += [path.join(self.config["tools"]["rust-root"], "bin")]
extra_lib += [path.join(self.config["tools"]["rust-root"], "lib")]
if not self.config["tools"]["system-cargo"] \