build path with spaces in it. bug

Added by Kevin Thacker over 6 years ago

if there is a build path with spaces in it, the visual studio compiler will fail to link because the .lib and .obj files have spaces in them and are not quoted.

in c-vc.jam

NEEDLIBS needs quotes around it -> e.g. "$(NEEDLIBS:T)"
$(<[1]) needs quotes around it -> e.g. /out:$(<[1]) should be /out:"$(<[1]")

a few places need to be changed here.

LINKLIBS is correctly quoted.


Replies (1)

RE: build path with spaces in it. bug - Added by Joshua Jensen over 6 years ago

I fixed a number of these cases and pushed the commits for you.

Thanks for the report.

-Josh

(1-1/1)