Skip to content

Commit 0dcdefc

Browse files
committed
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.
1 parent 9f00586 commit 0dcdefc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/host.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ define CP_HOST_STAGE_N
2525

2626
$$(HBIN$(2)_H_$(4))/rustc$$(X_$(4)): \
2727
$$(TBIN$(1)_T_$(4)_H_$(3))/rustc$$(X_$(4)) \
28-
$$(HLIBRUSTC_DEFAULT$(2)_H_$(4)) \
28+
$$(HLIB$(2)_H_$(4))/$(CFG_LIBRUSTC_$(4)) \
2929
| $$(HBIN$(2)_H_$(4))/
3030
@$$(call E, cp: $$@)
3131
$$(Q)cp $$< $$@
3232

3333
$$(HLIB$(2)_H_$(4))/$(CFG_LIBRUSTC_$(4)): \
3434
$$(TLIB$(1)_T_$(4)_H_$(3))/$(CFG_LIBRUSTC_$(4)) \
35-
$$(HLIBSYNTAX_DEFAULT$(2)_H_$(4)) \
35+
$$(HLIB$(2)_H_$(4))/$(CFG_LIBSYNTAX_$(4)) \
3636
| $$(HLIB$(2)_H_$(4))/
3737

3838
@$$(call E, cp: $$@)

0 commit comments

Comments
 (0)