Bug 1323127 - Pass absolute path of DIST to cargo. r=froydnj

MozReview-Commit-ID: GOK2MSA6imC

--HG--
extra : rebase_source : 4abe1a93ff488a4612f4f6f4ca3961c9db3456e7
This commit is contained in:
Xidorn Quan 2016-12-13 15:38:37 +11:00
parent 0a3ba91a19
commit a2cddc7eb7

View File

@ -942,7 +942,7 @@ ifndef MOZ_OPTIMIZE
rustflags_override = RUSTFLAGS='-C opt-level=0'
endif
CARGO_BUILD = env $(rustflags_override) CARGO_TARGET_DIR=. RUSTC=$(RUSTC) MOZ_DIST=$(DIST) $(CARGO) build $(cargo_build_flags)
CARGO_BUILD = env $(rustflags_override) CARGO_TARGET_DIR=. RUSTC=$(RUSTC) MOZ_DIST=$(ABS_DIST) $(CARGO) build $(cargo_build_flags)
ifdef RUST_LIBRARY_FILE