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 2792f8ec0b
commit bd48dbd1fc

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):