We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7fd6d2 commit 617d7efCopy full SHA for 617d7ef
configure
@@ -1135,6 +1135,7 @@ do
1135
CFG_MSVC_LIB_PATH=$(cmd /c "\"$vcvarsall\" amd64 && cmd /c echo %LIB%")
1136
need_ok "failed to learn about MSVC's LIB"
1137
1138
+ putvar CFG_MSVC_ROOT
1139
putvar CFG_MSVC_CL
1140
putvar CFG_MSVC_LIB
1141
putvar CFG_MSVC_LINK
mk/cfg/x86_64-pc-windows-msvc.mk
@@ -37,7 +37,7 @@ endif
37
# but it's not the one that we want. As a result we make sure that our detected
38
# `link.exe` shows up in PATH first.
39
ifdef CFG_MSVC_LINK
40
-export PATH := $(dir $(CFG_MSVC_LINK)):$(PATH)
+export PATH := $(CFG_MSVC_ROOT)/VC/bin/amd64:$(PATH)
41
endif
42
43
# There are more comments about this available in the target specification for
0 commit comments