mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 19:58:32 +00:00
mk: Fix make install
Forgot to update the installation procedure with the knowledge that libcore is only available as an rlib, not as a dylib. Closes #14026
This commit is contained in:
parent
e0fcb4eb3d
commit
6aefce6f16
@ -106,7 +106,8 @@ prepare-host-lib-$(1)-$(2)-$(3)-$(4): prepare-maybe-clean-$(4) \
|
|||||||
prepare-host-dirs-$(4)
|
prepare-host-dirs-$(4)
|
||||||
$$(if $$(findstring $(2), $$(PREPARE_STAGE)),\
|
$$(if $$(findstring $(2), $$(PREPARE_STAGE)),\
|
||||||
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
|
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
|
||||||
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$$(PREPARE_HOST),$(1))),),)
|
$$(if $$(findstring 1,$$(ONLY_RLIB_$(1))),,\
|
||||||
|
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$$(PREPARE_HOST),$(1)))),),)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
@ -133,7 +134,8 @@ prepare-target-$(2)-host-$(3)-$(1)-$(4): prepare-maybe-clean-$(4) \
|
|||||||
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
|
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
|
||||||
$$(call PREPARE_DIR,$$(PREPARE_WORKING_DEST_LIB_DIR))\
|
$$(call PREPARE_DIR,$$(PREPARE_WORKING_DEST_LIB_DIR))\
|
||||||
$$(foreach crate,$$(TARGET_CRATES),\
|
$$(foreach crate,$$(TARGET_CRATES),\
|
||||||
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate)))\
|
$$(if $$(findstring 1, $$(ONLY_RLIB_$$(crate))),,\
|
||||||
|
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate))))\
|
||||||
$$(call PREPARE_LIB,$$(call CFG_RLIB_GLOB,$$(crate))))\
|
$$(call PREPARE_LIB,$$(call CFG_RLIB_GLOB,$$(crate))))\
|
||||||
$$(if $$(findstring $(2),$$(CFG_HOST)),\
|
$$(if $$(findstring $(2),$$(CFG_HOST)),\
|
||||||
$$(foreach crate,$$(HOST_CRATES),\
|
$$(foreach crate,$$(HOST_CRATES),\
|
||||||
|
Loading…
Reference in New Issue
Block a user