2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Merge from trunk

[SVN r33840]
This commit is contained in:
Vladimir Prus
2006-04-27 15:19:38 +00:00
parent e166a97779
commit dbf5b1e112

View File

@@ -45,6 +45,7 @@ rule init ( version ? : command * : options * )
common.handle-options cw : $(condition) : $(command) : $(options) ;
local root = [ feature.get-values <root> : $(options) ] ;
if $(command)
{
command = [ common.get-absolute-tool-path $(command[-1]) ] ;
@@ -56,7 +57,11 @@ rule init ( version ? : command * : options * )
# map the batch file in setup so it can be executed
other-tools = $(tool-root:D) ;
root = $(other-tools:D) ;
root ?= $(other-tools:D) ;
flags cw.link RUN_PATH $(condition) :
"$(root)\\Win32-x86 Support\\Libraries\\Runtime"
"$(root)\\Win32-x86 Support\\Libraries\\Runtime\\Libs\\MSL_All-DLLs" ;
setup = "set \"CWFOLDER="$(root)"\" && call \""$(setup)"\" > nul " ;