From 0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 18 Dec 2013 09:54:55 -0800 Subject: [PATCH] make: Fix deps of rmake tests and host files The rmake tests should depend on the target libraries (for linking), not just the host libraries (for running). The host file dependencies are also correct now because HLIBRUSTC_DEFAULT doesn't actually exist. --- mk/host.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/host.mk b/mk/host.mk index f94afe587f3..9997384d250 100644 --- a/mk/host.mk +++ b/mk/host.mk @@ -25,14 +25,14 @@ define CP_HOST_STAGE_N $$(HBIN$(2)_H_$(4))/rustc$$(X_$(4)): \ $$(TBIN$(1)_T_$(4)_H_$(3))/rustc$$(X_$(4)) \ - $$(HLIBRUSTC_DEFAULT$(2)_H_$(4)) \ + $$(HLIB$(2)_H_$(4))/$(CFG_LIBRUSTC_$(4)) \ | $$(HBIN$(2)_H_$(4))/ @$$(call E, cp: $$@) $$(Q)cp $$< $$@ $$(HLIB$(2)_H_$(4))/$(CFG_LIBRUSTC_$(4)): \ $$(TLIB$(1)_T_$(4)_H_$(3))/$(CFG_LIBRUSTC_$(4)) \ - $$(HLIBSYNTAX_DEFAULT$(2)_H_$(4)) \ + $$(HLIB$(2)_H_$(4))/$(CFG_LIBSYNTAX_$(4)) \ | $$(HLIB$(2)_H_$(4))/ @$$(call E, cp: $$@)