From 3aed4b04cee15408536e9d89b866dc16447d1afb Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 26 Jan 2012 15:43:39 +0100 Subject: [PATCH] [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. --- mk/host.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/host.mk b/mk/host.mk index a23af108f43..e7692512235 100644 --- a/mk/host.mk +++ b/mk/host.mk @@ -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: $$@)