mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 11:12:43 +00:00
Correct install.mk to use CFG_LIBDIR for correct install paths on windows.
This commit is contained in:
parent
16d290d10c
commit
5b4da3c5e1
@ -18,7 +18,7 @@ ISTAGE = 2
|
||||
|
||||
PREFIX_ROOT = $(CFG_PREFIX)
|
||||
PREFIX_BIN = $(PREFIX_ROOT)/bin
|
||||
PREFIX_LIB = $(PREFIX_ROOT)/lib
|
||||
PREFIX_LIB = $(PREFIX_ROOT)/$(CFG_LIBDIR)
|
||||
|
||||
define INSTALL_TARGET_N
|
||||
# $(1) is the target triple
|
||||
@ -31,7 +31,7 @@ TL$(1)$(2) = $$(TLIB$$(ISTAGE)_T_$(1)_H_$(2))
|
||||
# PT{R,B,L} == Prefix Target {Root, Bin, Lib}
|
||||
PTR$(1)$(2) = $$(PREFIX_LIB)/rustc/$(1)
|
||||
PTB$(1)$(2) = $$(PTR$(1)$(2))/bin
|
||||
PTL$(1)$(2) = $$(PTR$(1)$(2))/lib
|
||||
PTL$(1)$(2) = $$(PTR$(1)$(2))/$(CFG_LIBDIR)
|
||||
|
||||
install-target-$(1)-host-$(2): $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
|
||||
$$(Q)mkdir -p $$(PTL$(1)$(2))
|
||||
|
Loading…
Reference in New Issue
Block a user