Skip to content

Commit 3aed4b0

Browse files
committed
[makefiles] Make rustc depend on librustc
This ensures the lib is not just built, but also copied into the right lib directory when a rustc binary is used as make target.
1 parent 305b1c8 commit 3aed4b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mk/host.mk

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ $$(HBIN$(2)_H_$(4))/rustc$$(X): \
1515
$$(TBIN$(1)_T_$(4)_H_$(3))/rustc$$(X) \
1616
$$(HLIB$(2)_H_$(4))/$$(CFG_RUNTIME) \
1717
$$(HLIB$(2)_H_$(4))/$$(CFG_RUSTLLVM) \
18+
$$(HLIB$(2)_H_$(4))/$$(CFG_LIBRUSTC) \
1819
$$(HCORELIB_DEFAULT$(2)_H_$(4)) \
1920
$$(HSTDLIB_DEFAULT$(2)_H_$(4))
2021
@$$(call E, cp: $$@)

0 commit comments

Comments
 (0)