MSYS2: link tool error (while builing boost library)
Closed this issue · 3 comments
daxcore commented
basement/classes/cpackage.yaml
Line 17 in 87de150
in my case the /usr/bin/link tool is picked. we should push VS_PATH
in front of PATH
.
mahaase commented
in my case i tried to build the boost library. b2 uses the link
tool.
$ which -a link
/usr/bin/link
/bin/link
/c/Program Files/Git/usr/bin/link
is there a way to force the correct tool inside the toolchain recipe?
jkloetzke commented
Well, I guess there is no good solution. Maybe you have to patch boost and pass an absolute path for the link tool?
mahaase commented
perfekt trigger:
echo "using msvc : ${MSVC_VER} : ${CXX} : <linker>\"\\\"$(cygpath -m "$(dirname "$(which cl)")/link.exe")\\\"\" ;" > user-config.jam
EXTRA+=( "--user-config=$PWD/user-config.jam" )
take care off the double quote: boostorg/build#566