about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-18 09:54:55 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-24 19:59:54 -0800
commit0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed (patch)
treea6ea3cc785c9648d627f893442f5d01e4bdc9678
parent9f005866e59246bbe2721fc5a6c993c5ae7e1431 (diff)
downloadrust-0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed.tar.gz
rust-0dcdefcf7ee3c143fcaf3368bcfbef703ef54fed.zip
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.
-rw-r--r--mk/host.mk4
1 files 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: $$@)