@@ -122,8 +122,8 @@ define DEF_PREPARE_TARGET_N
122
122
# Rebind PREPARE_*_LIB_DIR to point to rustlib, then install the libs for the targets
123
123
prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_WORKING_SOURCE_LIB_DIR=$$(PREPARE_SOURCE_LIB_DIR ) /rustlib/$(2 ) /lib
124
124
prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_WORKING_DEST_LIB_DIR=$$(PREPARE_DEST_LIB_DIR ) /rustlib/$(2 ) /lib
125
- prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_SOURCE_BIN_DIR=$$(PREPARE_SOURCE_LIB_DIR ) /rustlib/$(2 ) /bin
126
- prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_DEST_BIN_DIR=$$(PREPARE_DEST_LIB_DIR ) /rustlib/$(2 ) /bin
125
+ prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_SOURCE_BIN_DIR=$$(PREPARE_SOURCE_LIB_DIR ) /rustlib/$(3 ) /bin
126
+ prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : PREPARE_DEST_BIN_DIR=$$(PREPARE_DEST_LIB_DIR ) /rustlib/$(3 ) /bin
127
127
prepare-target-$(2 ) -host-$(3 ) -$(1 ) -$(4 ) : prepare-maybe-clean-$(4 ) \
128
128
$$(foreach crate,$$(TARGET_CRATES ) , \
129
129
$$(TLIB$(1 ) _T_$(2 ) _H_$(3 ) ) /stamp.$$(crate ) ) \
@@ -148,7 +148,7 @@ prepare-target-$(2)-host-$(3)-$(1)-$(4): prepare-maybe-clean-$(4) \
148
148
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2 ) ,$$(crate ) ) ) ) ,) \
149
149
$$(foreach object,$$(INSTALLED_OBJECTS_$(2 ) ) ,\
150
150
$$(call PREPARE_LIB,$$(object ) ) ) \
151
- $$(foreach bin,$$(INSTALLED_BINS_$(2 ) ) ,\
151
+ $$(foreach bin,$$(INSTALLED_BINS_$(3 ) ) ,\
152
152
$$(call PREPARE_BIN,$$(bin ) ) ) \
153
153
,) ,) ,)
154
154
endef
0 commit comments