Bug 1208566 - emit proper dependencies when compiling Rust sources; r=mshal

This commit is contained in:
Nathan Froyd 2015-12-16 12:58:18 -08:00 committed by Ralph Giles
parent 4bb5301af4
commit aeed534cc0

View File

@ -945,7 +945,7 @@ ifdef MOZ_RUST
# in the target's LIBS.
$(RSOBJS):
$(REPORT_BUILD)
$(RUSTC) $(RUSTFLAGS) --crate-type staticlib -o $(call mk_libname,$<) $(_VPATH_SRCS)
$(RUSTC) $(RUSTFLAGS) --crate-type staticlib --emit dep-info=$(MDDEPDIR)/$(call mk_libname,$<).pp,link=$(call mk_libname,$<) $(_VPATH_SRCS)
endif
$(SOBJS):