about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2014-11-18 16:32:03 -0500
committerCody P Schafer <dev@codyps.com>2014-11-20 16:00:12 -0500
commit29cc7c2adf0bdbe00fc65ff0a7393668eead7a22 (patch)
tree47bc17c2174886e465e7b2327b2b01dbf17e075e
parentaa58d534e5f7d4db64c1bddd5d6b446e110ca7f3 (diff)
mk/target: fix typo so we depend on the correct directory
Without this, if we we're using a non-standard host libdir, the target
bindir would not exist (and rustc would fail to write to the
non-existent directory).
-rw-r--r--mk/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/target.mk b/mk/target.mk
index ed7d8bb497d..acdf780f105 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -116,7 +116,7 @@ $$(TBIN$(1)_T_$(2)_H_$(3))/$(4)$$(X_$(2)): \
 		$$(foreach dep,$$(TOOL_DEPS_$(4)), \
 		    $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$$(dep)) \
 		$$(TSREQ$(1)_T_$(2)_H_$(3)) \
-		| $$(TBIN$(1)_T_$(4)_H_$(3))/
+		| $$(TBIN$(1)_T_$(2)_H_$(3))/
 	@$$(call E, rustc: $$@)
 	$$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< --cfg $(4)