Skip to content

Commit 5b4da3c

Browse files
committed
Correct install.mk to use CFG_LIBDIR for correct install paths on windows.
1 parent 16d290d commit 5b4da3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/install.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ISTAGE = 2
1818

1919
PREFIX_ROOT = $(CFG_PREFIX)
2020
PREFIX_BIN = $(PREFIX_ROOT)/bin
21-
PREFIX_LIB = $(PREFIX_ROOT)/lib
21+
PREFIX_LIB = $(PREFIX_ROOT)/$(CFG_LIBDIR)
2222

2323
define INSTALL_TARGET_N
2424
# $(1) is the target triple
@@ -31,7 +31,7 @@ TL$(1)$(2) = $$(TLIB$$(ISTAGE)_T_$(1)_H_$(2))
3131
# PT{R,B,L} == Prefix Target {Root, Bin, Lib}
3232
PTR$(1)$(2) = $$(PREFIX_LIB)/rustc/$(1)
3333
PTB$(1)$(2) = $$(PTR$(1)$(2))/bin
34-
PTL$(1)$(2) = $$(PTR$(1)$(2))/lib
34+
PTL$(1)$(2) = $$(PTR$(1)$(2))/$(CFG_LIBDIR)
3535

3636
install-target-$(1)-host-$(2): $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
3737
$$(Q)mkdir -p $$(PTL$(1)$(2))

0 commit comments

Comments
 (0)