Skip to content

Commit

Permalink
[rebase]: fix PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 19, 2015
1 parent b7fd6d2 commit 617d7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ do
CFG_MSVC_LIB_PATH=$(cmd /c "\"$vcvarsall\" amd64 && cmd /c echo %LIB%")
need_ok "failed to learn about MSVC's LIB"

putvar CFG_MSVC_ROOT
putvar CFG_MSVC_CL
putvar CFG_MSVC_LIB
putvar CFG_MSVC_LINK
Expand Down
2 changes: 1 addition & 1 deletion mk/cfg/x86_64-pc-windows-msvc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif
# but it's not the one that we want. As a result we make sure that our detected
# `link.exe` shows up in PATH first.
ifdef CFG_MSVC_LINK
export PATH := $(dir $(CFG_MSVC_LINK)):$(PATH)
export PATH := $(CFG_MSVC_ROOT)/VC/bin/amd64:$(PATH)
endif

# There are more comments about this available in the target specification for
Expand Down

0 comments on commit 617d7ef

Please sign in to comment.