mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Limit the flavor to certain toolsets. For now only MinGW.
[SVN r35745]
This commit is contained in:
@@ -78,7 +78,10 @@ rule init ( version ? : command * : options * )
|
||||
local command-info = [ MATCH "^[^ ]+[ ]+[^ ]+[ ]+([^ ]+)[^(]*[(]?([^)]*)"
|
||||
: [ SHELL "$(command) --version" ] ] ;
|
||||
version ?= $(command-info[1]) ;
|
||||
flavor ?= [ regex.replace $(command-info[2]:L) "[ .-:]" "_" ] ;
|
||||
switch $(command-info[2]:L)
|
||||
{
|
||||
case *mingw* : flavor ?= mingw ;
|
||||
}
|
||||
}
|
||||
|
||||
local condition ;
|
||||
|
||||
Reference in New Issue
Block a user