[makefiles] Make rustc depend on librustc

This ensures the lib is not just built, but also copied into the right
lib directory when a rustc binary is used as make target.
This commit is contained in:
Marijn Haverbeke 2012-01-26 15:43:39 +01:00
parent 305b1c8701
commit 3aed4b04ce

View File

@ -15,6 +15,7 @@ $$(HBIN$(2)_H_$(4))/rustc$$(X): \
$$(TBIN$(1)_T_$(4)_H_$(3))/rustc$$(X) \
$$(HLIB$(2)_H_$(4))/$$(CFG_RUNTIME) \
$$(HLIB$(2)_H_$(4))/$$(CFG_RUSTLLVM) \
$$(HLIB$(2)_H_$(4))/$$(CFG_LIBRUSTC) \
$$(HCORELIB_DEFAULT$(2)_H_$(4)) \
$$(HSTDLIB_DEFAULT$(2)_H_$(4))
@$$(call E, cp: $$@)